Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Mar 25th, 2012  |  syntax: None  |  size: 0.41 KB  |  hits: 13  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. zips]$ python calculations.py
  2. Traceback (most recent call last):
  3.   File "calculations.py", line 66, in <module>
  4.     allZips = prepareallzips()
  5.   File "calculations.py", line 62, in prepareallzips
  6.     allZips[zip] = _Zip_Code_Record(zip, city, state, lon, lat)
  7.   File "calculations.py", line 14, in __init__
  8.     self.longitude = math.radians(float(longitude))
  9. ValueError: invalid literal for float(): longitude