urlretrieve is a helper function from urllib module. The way to use it is:
>>> import urllib.request >>> urllib.request('http://bugs.python.org') ('/tmp/tmpe873xe', <http.client.HTTPMessage object at 0xb72c2f6c>) >>> import os >>> os.stat('/tmp/tmpe873xe') posix.stat_result(st_mode=33152, st_ino=4462517, st_dev=2054, st_nlink=1, st_uid=1000, st_gid=1000, st_size=33128, st_atime=1311608669, st_mtime=1311608670, st_ctime=1311608670) Works properly for me 3.3 and 2.7. Is there any service that is running on your machine that deleting the tmp files as soon as they are created? _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com