import googlemaps

gmaps = googlemaps.Client(key='google_key')


def get_markers(address):
    geocode_result = gmaps.geocode(address)
    return geocode_result[0]['geometry']['location']

[(3, 'googlemaps.Client', 'googlemaps.Client', False, 'import googlemaps\n')]