def gsm_location():
    if e32.s60_version_info >= (3, 0):
        ret = _location.gsm_location()
if ret[4] == 1:
    return int(ret[0]), int(ret[1]), ret[2], ret[3]
else:
    return None
gsm location in python