Such as image size 200x2048
import photos
all_albums = photos.get_albums()
for album in all_albums:
if album.title == 'Test':
assets = album.assets
img = assets[-1].get_image()
img.show()
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Such as image size 200x2048
import photos
all_albums = photos.get_albums()
for album in all_albums:
if album.title == 'Test':
assets = album.assets
img = assets[-1].get_image()
img.show()
import sys
import re
import time
def main():
for item in range(200):
try:
print(item)
time.sleep(3)
except BaseException as ex:
print(ex)
if name == 'main':
main()
#My script is like this, it keeps running, I can’t stop it, really really annoying.