import time
from geopy.geocoders import Nominatim


geolocator = Nominatim()

def getGPS(place):
    #location = geolocator.geocode("Acquafredda di Maratea, Italia")
    location = geolocator.geocode(place)
    if not location:
        return 'NOT FOUND'
    #print(str(place).encode("utf-8"))
    #print(str(location).encode("utf-8"))