Slide 29
Slide 29 text
Jython 2.7b3 (default:e81256215fb0, Aug 4 2014,
02:39:51)
[Java HotSpot(TM) 64-Bit Server VM (Oracle
Corporation)] on java1.8.0_11
Type "help", "copyright", "credits" or
"license" for more information.
>>> from java.lang import System
>>> System.out.println("Hello, World!")
Hello, World!
>>>
>>> print "Hello, World!"
Hello, World!
But most of the standard trimmings of Python are there as well. Indeed, if you want to
maintain compatibility with CPython as much as possible, using Python standard calls
makes a lot of sense.