From: vlad Date: Tue, 29 Dec 2009 08:53:48 +0000 (+0200) Subject: Test python X-Git-Url: https://vcs.maemo.org/git/?a=commitdiff_plain;h=bea437a7eece162e47a39d0d42c15b2be1620f9b;p=meabook Test python --- diff --git a/meabook.py b/meabook.py new file mode 100755 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))