Message5182
I am using Jython 2.5.1 rc 2 on java1.6.0_11 on Win XP.
If I use a very simple bit of code in a file called getfile.py:
print __file__
The following command trace demonstrates its behaviour:
C:\jython2.5.1rc2>jython getfile.py
getfile.py
C:\jython2.5.1rc2>jython getfile.py
getfile.py
C:\jython2.5.1rc2>jython
Jython 2.5.1rc1 (Release_2_5_1rc1:6736:6741, Sep 1 2009, 10:37:37)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_11
Type "help", "copyright", "credits" or "license" for more information.
>>> import getfile
getfile.py
>>> →
C:\jython2.5.1rc2>jython
Jython 2.5.1rc1 (Release_2_5_1rc1:6736:6741, Sep 1 2009, 10:37:37)
[Java HotSpot(TM) Client VM (Sun Microsystems Inc.)] on java1.6.0_11
Type "help", "copyright", "credits" or "license" for more information.
>>> import getfile
getfile$py.class
>>> → |
|
Date |
User |
Action |
Args |
2009-09-17 10:26:49 | gdoutch | set | recipients:
+ gdoutch |
2009-09-17 10:26:49 | gdoutch | set | messageid: <1253183209.73.0.385043422423.issue1472@psf.upfronthosting.co.za> |
2009-09-17 10:26:49 | gdoutch | link | issue1472 messages |
2009-09-17 10:26:49 | gdoutch | create | |
|