Hi! Not really a problem, instead a (very tiny) thingy.
Under Windows (7/64), and working-DIR "C:\mescripts", with this very big script (named "test.py"):
import os,os.path temp=os.path.dirname(__file__) How I launch, and result: C:\python27\python.exe C:\mescripts\test.py => temp OK C:\python27\python.exe test.py => temp is empty test.py => temp OK OK, it's no linked to Pywin32, but "ça fait avancer le smilblick" and... sorry for my bad english. @-salutations -- Michel Claveau --
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32