system exec ?

alphaZeta NOSPAM.hnguyen421 at NOSPAM.hotmail.com
Thu Jul 5 05:35:04 EDT 2001


Hi,

I didn't find any documentation (lib and tut) about how to execute a program
in a python script.
Does anybody know ?

For example : I would like to store in a variable the result of a call to
the system.
alike : >>> a = sys.exe("ls -l")

Cheers,








More information about the Python-list mailing list