NOTE: I've figured everything out now. I also switched to 3.0
This has been bugging me for quite some time.
I just started seriously using Python (in this case, version 2.6) and made this .py script:
when I import it into IDLE it works fine.
But when I drag it to Python Launcher, PL opens very quickly then closes, within the space of a second. Same for Build Applet. And when I launch it from the finder into IDLE, it just shows the code, not the result. I mean, the files are placed in an area searched by sys.path (my documents folder) but nothing works. Help?
This has been bugging me for quite some time.
I just started seriously using Python (in this case, version 2.6) and made this .py script:
Code:
#easy!
print "Mary had a little lamb,"
print "it's fleece was white as snow;"
print "and everywhere that Mary went",
print "her lamb was sure to go."
But when I drag it to Python Launcher, PL opens very quickly then closes, within the space of a second. Same for Build Applet. And when I launch it from the finder into IDLE, it just shows the code, not the result. I mean, the files are placed in an area searched by sys.path (my documents folder) but nothing works. Help?