Can I load a python program at the interactive >>> prompt?
walterbyrd
walterbyrd at iname.com
Fri Dec 5 15:52:59 EST 2008
I am running cygwin on xp.
Much to my annoyance, I can not cut-and-paste from a windows app to
the python prompt. I think I could do this with putty, but I do not
have the permissions to install putty on my xp box.
Can I load a file into the python interactive environment? For
example I have a file called test.py that consists of the following:
print "hello"
print "hello again"
Can I load that file into python at the >>> prompt?
>>> load "test.py"
or something like that?
More information about the Python-list
mailing list