Message5360

Author jayasheela
Recipients jayasheela
Date 2009-12-08.07:56:38
SpamBayes Score 6.9463185e-06
Marked as misclassified No
Message-id <1260258998.92.0.61077805463.issue1519@psf.upfronthosting.co.za>
In-reply-to
Content
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,
History
Date User Action Args
2009-12-08 07:56:39jayasheelasetrecipients: + jayasheela
2009-12-08 07:56:38jayasheelasetmessageid: <1260258998.92.0.61077805463.issue1519@psf.upfronthosting.co.za>
2009-12-08 07:56:38jayasheelalinkissue1519 messages
2009-12-08 07:56:38jayasheelacreate