Category Archives: Python

Lazy Fox fun set

import setsmagicc=sets.Set(‘the quick brown fox jumps over a lazy dog’)>>> sorted(magicc)[‘ ‘, ‘a’, ‘b’, ‘c’, ‘d’, ‘e’, ‘f’, ‘g’, ‘h’, ‘i’, ‘j’, ‘k’, ‘l’, ‘m’, ‘n’, ‘o’, ‘p’, ‘q’, ‘r’, ‘s’, ‘t’, ‘u’, ‘v’, ‘w’, ‘x’, ‘y’, ‘z’]>>>  Advertisements

Posted in Python, script | Leave a comment

Get Geodata (latitude, longitude, etc.) in Python

I let the API keys empty, ’cause I don’t want to expose my keys. You need to register to and google to get API keys !!#!/usr/bin/pythonimport osimport sysimport socketimport httplibimport xml.dom.minidom as minidomfrom googlemaps import GoogleMaps“”” Get googlemap API module … Continue reading

Posted in Python, script | 5 Comments