system command

Thor thor__00 at yahoo.com
Thu Jun 13 14:05:21 EDT 2002


Daniel Fackrell wrote:

> Assumption: You are referring to the "source" command as provided by the
> bash shell on some *nix.
> 
> The man page for bash suggests that you probably want:
> 
> print "source "+root+".in"
> os.system("bash "+root+".in")

Changing to bash does the same.. i mean, nothing, no error, just finishes 
the script 
-- 
Thor -- Stockholm -- Sverige



More information about the Python-list mailing list