Added instructions to photos_repl.py

This commit is contained in:
Rhet Turnbull
2020-01-20 22:05:29 -08:00
parent db5effde52
commit ab1d95e458

View File

@@ -1,9 +1,12 @@
#!/usr/bin/env python3 -i
# open an interactive REPL with photosdb and photos defined
# Open an interactive REPL with photosdb and photos defined
# as osxphotos.PhotosDB() and PhotosDB.photos respectively
# useful for debugging or exploring the Photos database
# If you run this using python from command line, do so with -i flag:
# python3 -i examples/photos_repl.py
import sys
# click needed since this uses a couple of functions from CLI (__main__.py)