Calling a python program within a python program

Terry Reedy tjreedy at udel.edu
Sat Jan 4 13:53:37 EST 2003


"Rune Nesheim" <runen at sdf-eu.org> wrote in message
news:pan.2003.01.04.17.09.05.932539 at sdf-eu.org...
> > Is there any function from which I can call the another program.
(The program
> > is Python script only).
>
> You can simply import it into your python program.

or use execfile or os.system

tjr






More information about the Python-list mailing list