summaryrefslogtreecommitdiff
path: root/python/hello.py
diff options
context:
space:
mode:
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