diff --git a/examples/photos_repl.py b/examples/photos_repl.py index 322de755..f50931e0 100755 --- a/examples/photos_repl.py +++ b/examples/photos_repl.py @@ -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)