Python the Language

Python is a dynamic object-oriented language (i.e., flexible) for writing applications, Java applets and servlets, and the like. (We'll learn more about applets in Chapter 18.) It has a close relationship with Java. In fact, it can do pretty much anything Java can because it compiles to Java and uses the Java class libraries. With Python, you can create animated Web pages, automate monotonous jobs, and write Internet-interactive programs.

Java and Python

No doubt you've heard of Java, even the novices among you. Over a thousand books on it are on bookstore and library shelves, so it's hard to miss.

Remember our discussion of compilers and interpreters? Like Python, Java is an interpreted language, but, like C++, it's also ...

Get Python Programming with the Java™ Class Libraries: A Tutorial for Building Web and Enterprise Applications with Jython 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.