[python-win32] Win7 + P27 ; very tiny thingy

mc@mclaveau mc at mclaveau.com
Wed Oct 8 08:33:58 CEST 2014


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




-- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20141008/d2a6efd0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sign-styloplume.GIF
Type: image/gif
Size: 9129 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-win32/attachments/20141008/d2a6efd0/attachment.gif>


More information about the python-win32 mailing list