[issue12638] urllib.URLopener prematurely deletes files on cleanup

Senthil Kumaran report at bugs.python.org
Mon Jul 25 17:51:33 CEST 2011


Senthil Kumaran <senthil at uthcode.com> added the comment:

urlretrieve is a helper function from urllib  module. The way to use
it is:

('/tmp/tmpe873xe', <http.client.HTTPMessage object at 0xb72c2f6c>)
>>> import os
>>> os.stat('/tmp/tmpe873xe')

Works!

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12638>
_______________________________________


More information about the Python-bugs-list mailing list