loading files to the interpreter

Riku Voipio riku.voipio at nospam.iki.fi.invalid
Mon Aug 7 16:08:35 EDT 2000


Hi, 
While coding, I have both the editor and the interpreter open at the 
same time. I end up testing a lot of the code by cut'n'pastiting them from 
the editor to the interpreter for test purposes. 

It would be a lot easier, if I could just type in the interpreter something
like 

>>load("~/programming/foo.py")

instead of copying the whole file (which can be very long). is there a way to 
load code in the "fly"?




More information about the Python-list mailing list