Use Python3 print syntax

This commit is contained in:
sneakypete81 2013-05-14 19:43:55 +02:00
parent 18d93709b5
commit c9e2337fbd

View file

@ -59,8 +59,8 @@ _Authentication: optional_
client = openphoto.OpenPhoto() client = openphoto.OpenPhoto()
photo = client.photos.list()[0] # Returns the first photo from the list photo = client.photos.list()[0] # Returns the first photo from the list
photo.view(returnSizes="20x20") # Updates the photo object with the requested size photo.view(returnSizes="20x20")
print photo.path20x20 print(photo.path20x20)
http://current.openphoto.me/photo/c7/create/baad9/20x20.jpg http://current.openphoto.me/photo/c7/create/baad9/20x20.jpg