Chapter 18.  JPython

What a senseless waste of human life

This chapter shows you how easy it is to use all the power of Python within the elasticity of Java. JPython is the keyword for the secret of your success in the Java world.

Welcome to JPython

JPython is a Java implementation of the object-oriented scripting language called Python that has been certified as 100% pure Java. In other words, JPython does not use any of the C code of the original Python implementation. It is a version of Python that runs on top of the Java Virtual Machine. Thus, it allows you to run Python on any Java platform and enables your JPython applications to have access to any Java library that you might need.

JPython offers the same language as Python, but it has a different ...

Get Python Developer's Handbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.