I like the source code to look good, have uniform presentation, etc. Maybe I’m a bit particular, but I’m definitely not alone here: KWStyle is a great tool to check a number of files and signal the imperfections. This is especially valuable for project where several people are involved and all using different editors.
Tag Archives: Python
Saving data from Android: sqlite to gpx
During my last trip to Australia (the first trip for my Android phone), I have been using the ‘mytracks’ application from google to record all the places where I was going. Mostly for two reasons: sending the data to open street map and geotagging my photos.
KML disasters
Take a basic understanding of KML, notions of Python to go through the Internet, add a bit of regular expressions and there is basically no limit to what you can do in terms of geo-mash-up. Continue reading
Mapping photos 2 (libkml)
Few days ago Google release an open source library targeted at KML files: libkml. There is also bindings for python available.
Mapping photos
If you’ve followed earlier intructions on tagging your photos, you now have a set of photos with the gps location information on the exif tag. As we have seen on a previous article on blog-mapping, it is pretty easy to insert Google maps on a website.
Matrices et Python
Une bien jolie matrice sous la main, et on aimerait bien trouver son inverse:
from numpy import * from numpy.linalg import * a=array([[ 2.34635649, -1.36700425, 2.62820772, -1.93379678], [-0.1883465 , 0.24001098, -0.16084023, 0.06769621], [-0.45821679, 0.66405128, -0.93736998, 0.47861882], [-1.23335039, 0.54581151, -1.04212985, 1.05308756]]) <a href="https://www.melaneum.com/blog/python/matrices-et-python#more-10" class="more-link">Continue reading <span class="meta-nav">→</span></a>
Graphiques avec python
Installation des outils nécessaires
Python est normalement installé par défaut pour beaucoup de distribution linux. Tous les modules ne sont pas forcement disponibles. Sous debian, pour installer les modules supplémentaires, simplement faire: Continue reading