Untitled
By: a guest | Sep 5th, 2010 | Syntax:
None | Size: 0.72 KB | Hits: 30 | Expires: Never
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import weather
>>> Weather.fetch()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'Weather' is not defined
>>> import Weather
>>> Weather.fetch()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "Weather/globals.py", line 26, in fetch
urlretrieve(OBSURL,ZFILE)
File "/usr/lib/python2.6/urllib.py", line 93, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/usr/lib/python2.6/urllib.py", line 241, in retrieve
tfp = open(filename, 'wb')
IOError: [Errno 13] Permission denied: 'Weather/all_xml.zip'
>>>