call one python script from within another
Irmen de Jong
irmen at -NOSPAM-REMOVETHIS-xs4all.nl
Sat Jul 12 00:56:57 CEST 2003
Tubby Tudor wrote:
> What is the best way to call one python script from within another
> python script? For example:
> one.py finishes succesfully and calls two.py which finishes OK and then
> calls three.py
> Thanks guys!
.... body of your code here ....
main() # run code in one
two.main() # run code in two
three.main() # run code in three
Will this do?
If not, you have to explain better what exactly you want to achieve...
More information about the Python-list