Command line

Diez B. Roggisch deets at nospam.web.de
Sun Nov 20 15:50:10 EST 2005


amfr wrote:
> Hoe would I call something on the command line from python, e.g. "ls
> -la"?

Use the module subprocess - otherwise maybe popen2 or os.

Regards,

Diez



More information about the Python-list mailing list