tjreedy at udel.edu
Fri Mar 10 02:54:58 CET 2006
"Dr. Pastor" <elpX at adsihqX.com> wrote in message
news:zs_Pf.4292$6I.1238 at newsread3.news.pas.earthlink.net...
> Installed Python 2.4.2 on Windows XP.
> Activated IDLE.
> Loaded the following into the Edit window:
> Why I do not get any output?
> Thanks for any guidance.
When you run code from an edit window, IDLE saves the file to disk and then
*imports* it into the shell window. If you *paste* code into the shell
window (regardless of where from), then it acts like you typed it and you
will get expression results echoed, as you expected.
I got caught be this at first too, since I have run many snippets by
Terry Jan Reedy
More information about the Python-list