2008/12/8 Nicolas LAURANCE nlaura...@zindep.com:
Hi freephone users,
I wrote a little python script that will inject geocaching positions into
tangoGPS, so that you can use your freephone to locate the caches you
select.
You'll find screenshots, instructions and download at :
http://www.zindep.com/blog-zindep/geocaching_tangogps
I hope it can be of some use
Very useful thanks, although I still wish GroundSpeak were more open
with their data... :(
Anyway, I've attached a patch to make your script work with Python 2.5
(element tree moved within the standard library so needs to be
imported differently).
Thanks
--
Matt Brown
m...@mattb.net.nz
Mob +353 86 608 7117 www.mattb.net.nz
--- loc2tango.py.orig 2008-12-13 12:23:46.0 +
+++ loc2tango.py2008-12-13 12:24:02.0 +
@@ -4,7 +4,10 @@
# Licence GPL
# (c) Nicolas Laurance 2008
-import elementtree.ElementTree as ET
+try:
+import elementtree.ElementTree as ET
+except ImportError:
+import xml.etree.ElementTree as ET
import re, hashlib
from pysqlite2 import dbapi2 as sqlite
from optparse import OptionParser
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community