You need to close the quote on
         print os.system("python

Ronnie Z. Dlomo
012 673 7574

"claire letienne" <>
Sent by:

2004/08/17 03:37 PM

[Jython-users] using python module: input problem

I am trying to use simple python modules in jython, but I have a probleme
with the "input" in python: print "give a number"
                       def double(a):
                             return a*2
                       print double(a)  import os
                       print os.system("python

when compiling: Traceback (most recent call last):
                        File "", line 2, in ?

and it doesn't work
Thank you very much for your help!

Dialoguez en direct et gratuitement avec vos amis sur MSN Messenger !

This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
Jython-users mailing list