Message111
A minor difference between CPython and JPython. os.defpath is not defined
in the os module.
[d:\]jpython
JPython 1.1beta4 on java1.2.1 (JIT: symcjit)
Copyright (C) 1997-1999 Corporation for National Research Initiatives
>>> import os
>>> print os.defpath
Traceback (innermost last):
File "<console>", line 1, in ?
AttributeError: class 'org.python.modules.os' has no attribute 'defpath'
>>>
[d:\]python
Python 1.5.2 (#0, Apr 13 1999, 10:51:12) [MSC 32 bit (Intel)] on win32
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> import os
>>> print os.defpath
.;C:\bin
>>>
|
|
| Date |
User |
Action |
Args |
| 2008-02-20 17:16:41 | admin | link | issue222833 messages |
| 2008-02-20 17:16:41 | admin | create | |
|