diff options
author | John Wiegley <johnw@newartisans.com> | 2009-02-24 19:30:05 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-02-24 19:33:03 -0400 |
commit | e012917ceb8b694d2a21f8aafa3359946eacbd42 (patch) | |
tree | b91f10e91770540564be8d19f154512bcdfa605f /python/interp.py | |
parent | 153563d165044c6fe5cc36be2b9e0940fc51e563 (diff) | |
download | fork-ledger-e012917ceb8b694d2a21f8aafa3359946eacbd42.tar.gz fork-ledger-e012917ceb8b694d2a21f8aafa3359946eacbd42.tar.bz2 fork-ledger-e012917ceb8b694d2a21f8aafa3359946eacbd42.zip |
Created some new Python scripts under python/
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 |