[Tutor] exec syntax

Jason Coggins jason at asahnekec.com
Sat May 5 21:50:33 CEST 2007


Would someone please provide me with a simple example of the syntax to use the exec command to open a file.

I can see how to use it to execute a script of code embedded in the program (that example was provided in the documentation) but I cannot figure out the syntax to use it to run another python program in another file.

Thanks,

Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070505/09e4051c/attachment.htm 


More information about the Tutor mailing list