How to use Python Win IDE

Nick Perkins nperkins7 at home.com
Mon May 7 15:18:10 EDT 2001


..it sounds like you are using only
the 'Python Shell' window.
( the one with >>> )

That one runs your commands right away,
but does not save them for future use.
You need to open an editor window, and
type your code in there.
You can make all the changes you want,
(save your code with .py extension)
and then run your script by hitting:
( i think ctrl-r, or is it ctrl-F5 ?).


Any output (e.g. from 'print' statements )
will be seen on the interactive shell window
( the one with the >>> prompt )


I mostly use the (>>> window)to run little 'experiments',
usually one line of code, to test my understanding
of syntax, or to see what a function does, etc.

Of course, python code run from a file can interact
with the >>> interacive session...
I am sure that there are interesting tricks, techniques,
paradigms, whatever, but i am no expert.

I would be interested to hear how other people generally
use the >>> shell while programming.







More information about the Python-list mailing list