subprocess.call
Mau C
nobody at hotmail.com
Fri Apr 19 06:32:08 EDT 2013
Il 19/04/2013 11:56, Ombongi Moraa Fe ha scritto:
> Hi Team,
>
> In my python script, I have this:
>
> command="lynx -dump
> 'phpscript?param1=%s¶m2=%s¶m3=%s¶m4=%s¶m5=%s'"%(value1,value2,value3,value4)
http://docs.python.org/2/library/subprocess.html#module-subprocess
You should set the properly values for stdou and stderr.
Under UNIX, '/dev/null' worked out fine for me, when 'None' didn't.
M.
More information about the Python-list
mailing list