summaryrefslogtreecommitdiff
path: root/python/hello.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-24 19:30:05 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-24 19:33:03 -0400
commite012917ceb8b694d2a21f8aafa3359946eacbd42 (patch)
treeb91f10e91770540564be8d19f154512bcdfa605f /python/hello.py
parent153563d165044c6fe5cc36be2b9e0940fc51e563 (diff)
downloadfork-ledger-e012917ceb8b694d2a21f8aafa3359946eacbd42.tar.gz
fork-ledger-e012917ceb8b694d2a21f8aafa3359946eacbd42.tar.bz2
fork-ledger-e012917ceb8b694d2a21f8aafa3359946eacbd42.zip
Created some new Python scripts under python/
Diffstat (limited to 'python/hello.py')
-rw-r--r--python/hello.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/python/hello.py b/python/hello.py
new file mode 100644
index 00000000..b5b072bb
--- /dev/null
+++ b/python/hello.py
@@ -0,0 +1,7 @@
+import ledger
+
+def precmd_hello():
+ hello = ledger.Value()
+ hello.set_string("Well, hello yourself! This is Ledger, coming to you from Python Land.")
+ print hello
+ return hello