How to call script in interative status

Fu Chen novalet at yahoo.com.cn
Wed Feb 26 22:03:03 EST 2003


Hi!

I use python under windows2k. 
Uptonow i only call script by 
python script.py arg1 arg2

My question is can we call a script under the interative status ( >>>
) and how to do ? it seems possible to import a script and call its
function like script.func, but how to run the segment marked by name
== '__MAIN__' ?

Thanks!!




More information about the Python-list mailing list