Hi, I've been trying various tutorial things in the "interactive
window" of Pythonwin and I'm having trouble with simple things in the
IW; these all work as saved script files.

I've read the help file
(mk:@MSITStore:C:\Python24\Doc\ActivePython24.chm::/pywin32/html/pythonwin/doc/guienvironment.html)
about the Interactive window, and it seems that what I am doing should
work... but I'm just not sure.

For example, try the following script:

print "Hello"
print "Hello, again"

I type the first line, and even remember to press SHIFT-Enter.  Next
line appears with "..." as prompt.  I then type the next line, and
press just enter.

I only see the first Hello!

2nd try: Same as above, but press Shift-Enter after the 2nd line. 
Blank line with ..., just press enter.  Just first Hello again.

What am I doing wrong?  Can the IW not handle multi-line "python
snippets"?

Thanks, Michael the Beginner
_______________________________________________
ActivePython mailing list
ActivePython@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython

Reply via email to