Script executes script?

Jeremy Sanders jeremy+plusnews at jeremysanders.net
Wed Sep 1 05:49:05 EDT 2004


On Wed, 01 Sep 2004 11:13:57 +0200, Michel Claveau - abstraction
méta-galactique non triviale en fuite perpétuelle. wrote:

> Try   execfile(

Alternatively, on Unix at least,

import os
os.system('other.py')

Assuming other.py is an executable. This will give you a completely new
interpreter.

Jeremy




More information about the Python-list mailing list