Category Archives: Python

Python script that reads GPS log files and sends values via OSC

This is the companion post to the one below, (Python script that sends live GPS values over OSC). It is for people who don’t have a GPS to attach but want to experiment with the kind of values you get … Continue reading

Posted in Code, GPS, Linux, Python, Software | Comments Off on Python script that reads GPS log files and sends values via OSC

Python script that sends live GPS values over OSC

After meeting André Wakko at the fantastically bonkers workshop Insecure Territories with Bengt Sjolén, Martin Howse and Brendan Howell, I noticed that he was sonorizing wi-fi traffic and I cheekily introduced him to my GPS project for making some kind … Continue reading

Posted in Code, GPS, Linux, Python, Ubuntu | Comments Off on Python script that sends live GPS values over OSC

Python script to read our moods into an Sqlite database

This script takes a csv file, output from the mood reporting Android app that Peter wrote us and inserts the records into a database #! usr/bin/env python #-*- coding:utf-8 -*- # # Daniel Belasco Rogers 2011 Wed 16 Feb 2011 … Continue reading

Posted in Android, Code, Python | Tagged , | Comments Off on Python script to read our moods into an Sqlite database

A much better Python script to rename all tracknames in a gpx file with the first trackpoint date

Of course, just as I predicted, Peter beat me to it and seemed to learn as much about Python as me in a few days whereas its taken me a few years to get this far (sigh). Last night, as … Continue reading

Posted in Code, Diary, Python | Tagged , , | Comments Off on A much better Python script to rename all tracknames in a gpx file with the first trackpoint date

A Python script to get a list of placenames from latitude and longitude

Here’s a handy adaptation from Nicolas Laurance’s geoname.py script which takes a lat long and returns a list of place names and their code derived from the geonames database. #!/usr/bin/env python #-*- coding:utf-8 -*- # based on geoname.py by Nicolas … Continue reading

Posted in Code, GPS, Linux, Python, Software | Tagged , , | 1 Comment