How to run script from interpreter?

onlyvinish at gmail.com onlyvinish at gmail.com
Wed May 28 03:44:30 EDT 2014


On Friday, January 19, 2001 1:22:23 AM UTC+5:30, Rolander, Dan wrote:
> What is the best way to run a python script from within the interpreter?
> What command should I use?
> 
> Thanks,
> Dan

try using execfile(filename)



More information about the Python-list mailing list