2019-11-11 17:42:22 +08:00
|
|
|
# Pass this file to one of the Python script arguments (e.g. --pre-place interactive.py)
|
2019-11-11 17:44:11 +08:00
|
|
|
# to drop to a command-line interactive Python session in the middle of place and route
|
2019-11-11 17:42:22 +08:00
|
|
|
|
|
|
|
import code
|
|
|
|
print("Press Ctrl+D to finish interactive session")
|
|
|
|
code.interact(local=locals())
|