Message4933
oops, sorry. I think I used a wrong script and your example (which I
normally use too ;) does of course work in Python and Jython (2.5.0).
file.py
import os
print os.path.dirname(os.path.abspath(__file__)), __file__
F:\temp>python file.py
F:\temp file.py
F:\temp>jython file.py
F:\temp file.py
F:\temp>jython
Jython 2.5.0 (Release_2_5_0:6476, Jun 16 2009, 13:33:26)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_07
Type "help", "copyright", "credits" or "license" for more information.
>>>
Should be closed of course. |
|
Date |
User |
Action |
Args |
2009-07-20 18:13:44 | Christof | set | messageid: <1248113624.22.0.785930277624.issue1379@psf.upfronthosting.co.za> |
2009-07-20 18:13:44 | Christof | set | recipients:
+ Christof, thobes |
2009-07-20 18:13:44 | Christof | link | issue1379 messages |
2009-07-20 18:13:43 | Christof | create | |
|