C:\java -jar jython_installer.2.2.1.jar
After the installation completes, please move to jython\bin directory and run jython.batC:\jython\bin\jython.bat
>>> print "Hello, Jython"
Hello, Jython>>> from java.util import Vector
>>> v = Vector()
>>> dir(v)
>>> v.add('larry page')
>>> v.add('barack obama')
>>> v.add('bill gates')
>>> for value in v:
>>> print v
larry page
barack obama
Publish Post
bill gates
No comments:
Post a Comment