Geohashing

norseman norseman at hughes.net
Thu Apr 30 00:33:46 EDT 2009


Marco Mariani wrote:
> djc wrote:
> 
>> Python 2.5.2 (r252:60911, Oct  5 2008, 19:29:17)
> 
>>          geohash(37.421542, -122.085589, b'2005-05-26-10458.68')
>>                                                               ^
>>      SyntaxError: invalid syntax
> 
> 
> The byte type is new in 2.6
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list
> 
================================
As I've said before:

"It is far more simple to police ourselves.
The posting needs (its creation) ... DATE. ...  The code needs to state 
OS and program and version used to write it.  And from there - user beware."

Which would reduce the confusion greatly.  I got the same error message 
and decided it was from an incompatible version, using incompatible 
modules.  Looks as if I guessed right.  I pity the poor first timer.

Steve



More information about the Python-list mailing list