Hello All I am new to teaching Python but have enjoyed the reaction of my students to Python. I have been using the interactive mode to demonstrate and as a tool to check their understanding. However, it is hard for them to see when I get down to the bottom of the page. Is there a way to clear the screen or open a new interactive screen? If not, it would be a useful tool to have. -- Kris Olson Geraldton Senior College Head of Business and Computing Area Curriculum Information Communication Technology Coordinator 08-9965-8443 (W) 041-792-4434 (M) 08-9965-0317 (H)
On 5/26/06, Kris Olson <kris.olson.au@gmail.com> wrote:
Hello All
I am new to teaching Python but have enjoyed the reaction of my students to Python. I have been using the interactive mode to demonstrate and as a tool to check their understanding. However, it is hard for them to see when I get down to the bottom of the page. Is there a way to clear the screen or open a new interactive screen?
Hey Kris, I know what you mean. Sometimes I roll up the IDLE window so that the bottom of the frame is towards the middle of my screen. But there might be a better solution. Kirby
On 5/27/06, kirby urner <kirby.urner@gmail.com> wrote:
On 5/26/06, Kris Olson <kris.olson.au@gmail.com> wrote:
Is there a way to clear the screen or open a new interactive screen?
Hey Kris, I know what you mean. Sometimes I roll up the IDLE window so that the bottom of the frame is towards the middle of my screen. But there might be a better solution.
I do the same thing, but its clunky and doesn't completely solve the problem. I can think of various solutions in addition to a "clear screen" button: a) "clear history", which leaves the interactive prompt at the top of the window b) a scrollbar which lets you scroll down so that the only line shown is at the very top of the window -Steven Bird
On 5/27/06, Kris Olson <kris.olson.au@gmail.com> wrote:
Hello All
I am new to teaching Python but have enjoyed the reaction of my students to Python. I have been using the interactive mode to demonstrate and as a tool to check their understanding. However, it is hard for them to see when I get down to the bottom of the page. Is there a way to clear the screen or open a new interactive screen?
If not, it would be a useful tool to have.
You may also want to have a look at a little app I wrote called "Lightning Compiler". It includes a standard Python interpreter but also a Python aware editor in which you can enter code, click a button (or use a keyboard shortcut) and see the output in a separate window pane. With the editor, you can also run doctests - which is a good tool to check students understanding. It can be found under lightning here: https://sourceforge.net/project/showfiles.php?group_id=125834 It requires wxPython though... André --
Kris Olson Geraldton Senior College Head of Business and Computing Area Curriculum Information Communication Technology Coordinator 08-9965-8443 (W) 041-792-4434 (M) 08-9965-0317 (H)
_______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig
Kris Olson wrote:
I am new to teaching Python but have enjoyed the reaction of my students to Python. I have been using the interactive mode to demonstrate.... it is hard for them to see when I get down to the bottom of the page. Is there a way to clear the screen or open a new interactive screen?
Here's a trick I use for myself when the shell screen gets too full: 1) Make sure another window is open (do File / New Window if needed). 2) Close the shell screen. 3) On (one of) the open window(s) do Windows / Python Shell. You now have a nice clean window. I agree it would be nice to be able to prune the shell window contents. Especially if you have output some long text w/o returns in it, scrolling can get painfully slow as the output accumulates. -- Scott David Daniels Scott.Daniels@Acm.Org
On 5/28/06, Scott David Daniels <Scott.Daniels@acm.org> wrote:
Here's a trick I use for myself when the shell screen gets too full:
1) Make sure another window is open (do File / New Window if needed). 2) Close the shell screen. 3) On (one of) the open window(s) do Windows / Python Shell.
You now have a nice clean window.
But then you lose the session. You could recover the session by re-entering the necessary lines (e.g. importing modules, defining variables), but that leaves us with the original problem... -Steven Bird
participants (5)
-
Andre Roberge
-
kirby urner
-
Kris Olson
-
Scott David Daniels
-
Steven Bird