Shell: run script

Wojtek Walczak gminick at hacker.pl
Wed Nov 26 15:59:56 EST 2003


Dnia Wed, 26 Nov 2003 18:40:05 -0000, leroybt.rm napisał(a):
> Can someone tell me how to run a script from a interactive shell

You mean interactive session? If yes, then do:

import os
os.system('/path/to/a/script')

-- 
[ Wojtek Walczak - gminick (at) underground.org.pl ]
[        <http://gminick.linuxsecurity.pl/>        ]
[ "...rozmaite zwroty, matowe od patyny dawnosci." ]





More information about the Python-list mailing list