|
From: Ype K. <yk...@xs...> - 2001-07-26 18:13:08
|
Finn,
Under jython 21a2, Java 1.1.8, OS2
os.path.dirname('e:\\pyp\\pqp/pqdb.py' )
gives:
'e:\\pyp'
but I expected pqp to be part of the result.
Obviously this is different from your result, so
the OS seems to have influence here.
I tried to find how this influence is programmed
into the jython environment, but I could not find it
because module os is written in java, but it does not
seem to have a special provision for os.path.
On renaming package dirs (see previous post):
The module attribute __file__ contains the old path
name for an imported compiled module, which is
no more correct when the package and package directory
have been renamed.
Regards,
Ype
|