regarding popen function
Michael Hoffman
cam.ac.uk at mh391.invalid
Sat Jun 18 05:01:33 EDT 2005
praba kar wrote:
> The following way of popen function usage is
> wrong or not kindly give me answer regarding this
>
> time = os.popen("echo %s | tai64nlocal" %
> line[2]).read()
I don't know, I don't know what tai64nlocal is or what's in line[2].
What happened when you tried it?
Personally I try to use the subprocess module rather than os.popen.
--
Michael Hoffman
More information about the Python-list
mailing list