Message5360
Hi All,
I am new to Jython.I am trying to execute following command in Linux
OS it is throwing some error.
Following is the command
[bin]$ ./jython.sh
OracleDI: Starting Jython ...
Jython 2.1 on java1.6.0_14 (JIT: null)
>>> import os
>>> os.system("ls -l")
Traceback (innermost last):
File "<console>", line 1, in ?
AttributeError: class 'org.python.modules.os' has no attribute 'system'
Can some one help to sove this issue.
Thanks, |
|
Date |
User |
Action |
Args |
2009-12-08 07:56:39 | jayasheela | set | recipients:
+ jayasheela |
2009-12-08 07:56:38 | jayasheela | set | messageid: <1260258998.92.0.61077805463.issue1519@psf.upfronthosting.co.za> |
2009-12-08 07:56:38 | jayasheela | link | issue1519 messages |
2009-12-08 07:56:38 | jayasheela | create | |
|