Run a linux program through python
Andreas Jung
andreas at andreas-jung.com
Fri Jun 20 03:51:51 EDT 2003
Inside an ExternalMethod:
import os
os.system('your_program')
Check the mailinglist archive. This question has been answered a dozen of
times.
-aj
--On Freitag, 20. Juni 2003 9:29 Uhr +0200 Gunnar Staff
<gunnaran at stud.math.ntnu.no> wrote:
> I would like ti run a linux program through a
> python script. Do enyone know the syntax for
> running a OS program from python?
>
> Assume I'll run
> $ convert fromfile tofile
>
> Gunnar
> --
> http://mail.python.org/mailman/listinfo/python-list
More information about the Python-list
mailing list