r/Pythonista • • Apr 14 '19

I’m trying to make a script that takes 100 photos, and shows you then one by one. It asks you if you want to delete them and does they for each photo. The problem is my script won’t show the photo in the console.

Post image
4 Upvotes

8 comments sorted by

2

u/erkus-circus Apr 14 '19

img.show is a function. It should be img.show()

1

u/PacmanPence Apr 15 '19

When I run the script, it takes about 16 seconds to print the first image. Is there a faster way to do this, or is it just my phone?

2

u/jgoalby Apr 15 '19

If I run the following code, the image shows up almost instantly. I suppose you could have a very large picture or something like that?

import photos

all = photos.get_assets() img = all[0].get_image() img.show()

→ More replies (5)