Python-spe-users digest, Vol 1 #81 - 1 msg

python-spe-users-request-tdrK/[email protected] Fri, 28 Apr 2006 12:00:16 +0200
Newsgroups gmane.comp.python.spe.user
Message-ID <[email protected]>
Send Python-spe-users mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.berlios.de/mailman/listinfo/python-spe-users
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Python-spe-users digest..."


_______________________________________________
http://pythonide.stani.be
http://pythonide.stani.be/manual/html/manual.html
http://pythonide.stani.be/blog/sm_donate _______________________________________________


Today's Topics:

   1. Three Newbie Issues (Todd O'Bryan)

--__--__--

Message: 1
To: python-spe-users-tdrK/[email protected]
From: "Todd O'Bryan" <[email protected]>
Date: Thu, 27 Apr 2006 22:24:09 -0400
Subject: [spe-users] Three Newbie Issues
Reply-To: [email protected]

I've started using SPE to teach intro Python to high school classes.  
I've come across three issues that I've been wondering about:

1. up-arrow doesn't work to re-enter the last line in the Python  
interpreter. Is there a way to do that or do you just have to cut and  
paste?

2. The font in the run window is not monospaced, so if I have  
students write a script, when they run it it looks like a mess. Is  
there a way to change the font? (They can't run in the terminal  
because, for security reasons, the command prompt is blocked.)

3. Is there an easy way to import the current file and all its  
components into the interpreter. What I'd like is for students to be  
able to write a function (call it spam()) in a file called eggs.py,  
hit a key or choose a menu, like F10 currently, and just type spam()  
in the interpreter. Currently they either have to type eggs.spam() or  
import the function correctly. I guess I'd like something to  
automatically run "from eggs import *" so the kids don't have to do  
it themselves each time they change the file.

Thanks for a cool tool. It's making using Python very easy.
Todd


--__--__--

_______________________________________________
Python-spe-users mailing list
[email protected]
http://lists.berlios.de/mailman/listinfo/python-spe-users


End of Python-spe-users Digest