From ab1d95e458fd983e1450a1240252885e580989e0 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Mon, 20 Jan 2020 22:05:29 -0800 Subject: [PATCH] Added instructions to photos_repl.py --- examples/photos_repl.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)