Test python start
authorvlad <vlad@vlalin.(none)>
Tue, 29 Dec 2009 08:53:48 +0000 (10:53 +0200)
committervlad <vlad@vlalin.(none)>
Tue, 29 Dec 2009 08:53:48 +0000 (10:53 +0200)
meabook.py [new file with mode: 0755]

diff --git a/meabook.py b/meabook.py
new file mode 100755 (executable)
index 0000000..f2adf43
--- /dev/null
@@ -0,0 +1,25 @@
+#!/usr/bin/python -tt
+# vim: sw=4 ts=4 expandtab ai
+
+
+
+
+"""
+Main
+"""
+
+import sys
+import os
+
+# add mnemosyne directory to Python path in debug mode
+if os.path.basename(sys.argv[0]).endswith("debug"):
+    sys.path.insert(0, "../../")
+    sys.path.insert(0, "../")
+
+def main(argv):
+    """ Main """
+
+    print "Main"
+
+if __name__ == "__main__":
+    sys.exit(main(sys.argv))