June 2nd, 2012 by Melaneum
To quickly test some web development stuff:
python -m SimpleHTTPServer
This serves the current directory on port 8000. Avoid that if you’re not firewalled, but on a local machine, that’s really practical for quick testing.
Category: Python |
No Comments »
October 14th, 2009 by Melaneum
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.
Read the rest of this entry »
Category: Python |
No Comments »
June 28th, 2009 by Melaneum
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.
Read the rest of this entry »
Category: Android, Geolocation, Python |
6 Comments »
June 28th, 2008 by Melaneum
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. Read the rest of this entry »
Category: Geolocation, Python |
No Comments »
April 3rd, 2008 by Melaneum
Few days ago Google release an open source library targeted at KML files: libkml. There is also bindings for python available.
Read the rest of this entry »
Category: Geolocation, photo, Python, Tagging |
No Comments »
March 25th, 2008 by Melaneum
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.
Read the rest of this entry »
Category: Geolocation, photo, Python, Tagging |
No Comments »
August 24th, 2007 by Melaneum
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]])
Read the rest of this entry »
Category: Python |
No Comments »
August 22nd, 2007 by Melaneum
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: Read the rest of this entry »
Category: Python |
No Comments »