The location module offers APIs to location information related services.  This  module has one function:

gsm_location() which retrieves GSM location information: Mobile Country Code, Mobile Network Code, Location Area Code, Cell ID.

 

Example:

#Retrieving information 
import location
location.gsm_location()

Department of Electronic Systems | Aalborg University | Niels Jernes Vej 12 | DK-9220 Aalborg | Denmark
Phone: (+45) 9635 8695 | Fax (+45) 9815 1583 | E-mail ies(at)ies.aau.dk
Copyright © 2006 Department of Electronic Systems

Last update:08-03-2007