diff options
Diffstat (limited to 'python/interactive.py')
-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..a2f09edb --- /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 a 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()) |