[Tutor] exec syntax

Rikard Bosnjakovic rikard.bosnjakovic at gmail.com
Sat May 5 22:46:42 CEST 2007


On 5/5/07, Jason Coggins <jason at asahnekec.com> wrote:

> 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.

Use execfile().


-- 
- Rikard - http://bos.hack.org/cv/


More information about the Tutor mailing list