Table of Content
To find out full path of current python script is basic requirement for portable application.
Here is most simple and stable one I did:
def toolpath(): return '\\'.join(os.path.realpath(__file__).split("\\")[0:-2])+'\\'