I have always used the gps.py module that is included with linux on my desktop distros (debian, ubuntu etc). &nbsp;It can usually be found here:<div><br></div><div>/var/lib/python-support/python2.5/gps.py</div><div><br></div><div>
I am dunning Debian on my Freerunner, I copied gps.py from my desktop to the same location on the phone and it works just fine! &nbsp;Usage goes like this:</div><div><br></div><div><div>Python 2.5.2 (r252:60911, Feb 22 2008, 07:57:53)&nbsp;</div>
<div>[GCC 4.0.1 (Apple Computer, Inc. build 5363)] on darwin</div><div>Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information.</div><div>&gt;&gt;&gt; import gps</div>
<div>&gt;&gt;&gt; g = gps.gps()</div><div>&gt;&gt;&gt; g.query(&quot;admosy&quot;)</div><div>&gt;&gt;&gt; g.fix.latitude</div><div>34.432875</div><div><br></div><div>More examples using gps.py here:</div></div><div><div><div>
<div><br></div><div><a href="http://www.perrygeo.net/wordpress/?p=13">http://www.perrygeo.net/wordpress/?p=13</a><br><br><div class="gmail_quote">On Tue, Jan 13, 2009 at 5:23 AM, Nicolas Laurance <span dir="ltr">&lt;<a href="mailto:nlaurance@zindep.com">nlaurance@zindep.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">you might want to read the thread<br>
<br>
<a href="http://lists.openmoko.org/nabble.html#nabble-td786643" target="_blank">http://lists.openmoko.org/nabble.html#nabble-td786643</a><br>
<div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</div></div></blockquote></div><br></div></div></div></div>