Discussion:
[python-win32] Win7 + P27 ; very tiny thingy
mc@mclaveau
2014-10-08 06:33:58 UTC
Permalink
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




--
Loading...