[Tutor] Getting the results of a file or command?
Yigal Duppen
yduppen@xs4all.nl
Tue Nov 12 10:59:23 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 12 November 2002 16:29, Jmllr891@cs.com wrote:
> How do you get the results from the execution of a file or system command?
Have a look at os.popen
Using this function, you get a file-like object representing stdout. You can
then analyze the output.
YDD
- --
http://www.xs4all.nl/~yduppen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)
iD8DBQE90SUxLsKMuCf5EdwRAjzAAKC516hNwI4cQ5e1F6f5Ff2iUoz5KwCgtifN
qiyXfGLqqJpE/7BZfSzqpqg=
=QQCf
-----END PGP SIGNATURE-----