os.system and wget

Joerg Woelke dvass at felis.uni-freiburg.de
Thu Nov 14 09:37:01 EST 2002


Hi!

John Hunter wrote:

[ snip ]

>     zunbeltz> os.system('wget -q -O foo.txt http://foo.html')

[ snip ]

>   h = os.popen('wget -q -O foo1.txt http://foo.html')
>   h.close()

What for, if you don't do anything (read/write) with the pipe?
That's what os.system is for.

[ snip ]

> John Hunter

Confused, J"o!

-- 
sigfault



More information about the Python-list mailing list