from PIL import Image #code from http://www.sharejs.com img = Image.open('img.jpg') exif_data = img._getexif()