##// END OF EJS Templates
Claire, Erick Bocanegra 21-02-18
Claire, Erick Bocanegra 21-02-18

File last commit:

r965:156d7465eee3
r1146:dc5534725adf
Show More
tools.py.svn-base
14 lines | 410 B | text/plain | TextLexer
import os, sys
def get_path ():
"""Borrowed from wxglade.py"""
try:
root = __file__
if os.path.islink (root):
root = os.path.realpath (root)
return os.path.dirname (os.path.abspath (root))
except:
print "I'm sorry, but something is wrong."
print "There is no __file__ variable. Please contact the author."
return ""