diff options
Diffstat (limited to 'python/interp.py')
-rw-r--r-- | python/interp.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python/interp.py b/python/interp.py new file mode 100644 index 00000000..afc62ba4 --- /dev/null +++ b/python/interp.py @@ -0,0 +1,7 @@ +from code import InteractiveConsole + +def cmd_python(): + interpreter = InteractiveConsole() + interpreter.push("from ledger import *") + interpreter.interact("Welcome to Ledger") + return True |