GPS from photo

from GPSPhoto import gpsphoto

# Get the data from image file and return a dictionary

data = gpsphoto.getGPSData('c:/Temp/abc.jpg')

print(data['Latitude'], data['Longitude'])

#-26.556741666666667 156.08578611111113