diff options
-rw-r--r-- | python/interactive.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python/interactive.py b/python/interactive.py new file mode 100644 index 00000000..c8c359f0 --- /dev/null +++ b/python/interactive.py @@ -0,0 +1,6 @@ +# Pass this file to one of the Python script arguments (e.g. --pre-place interactive.py) +# to drop to an command-line interactive Python session in the middle of place and route + +import code +print("Press Ctrl+D to finish interactive session") +code.interact(local=locals()) |