projects
/
meabook
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd5ffca
)
Test python
start
author
vlad
<vlad@vlalin.(none)>
Tue, 29 Dec 2009 08:53:48 +0000
(10:53 +0200)
committer
vlad
<vlad@vlalin.(none)>
Tue, 29 Dec 2009 08:53:48 +0000
(10:53 +0200)
meabook.py
[new file with mode: 0755]
patch
|
blob
diff --git a/meabook.py
b/meabook.py
new file mode 100755
(executable)
index 0000000..
f2adf43
--- /dev/null
+++ b/
meabook.py
@@ -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))