Editor's note: O'Reilly's Python books have been a staple source of quality information for programmers for years. If you haven't visited our Python Resource Center in a while, it may be time to stop by again. There you'll find two excellent resources: Learning Python, 2nd Edition and Python in a Nutshell. The former offers Python programmers a comprehensive learning tool for Python and object-oriented programming; the latter offers programmers one-stop shopping when they need help remembering or deciphering Python's syntax and its many modules.
In this excerpt, plucked from the pages of these two books, you'll find a quick reference to many useful Python commands, covering object methods, common file operations, and much more. And we've made it available for download as a PDF
(55K) for you to print and post where you program. Enjoy.
I believe Jython is current to CPython (AKA Python) version 2.1 and working on implementing 2.2/3. The O'Reilly titles are good at keep track of which features and libraries are available in which version.
www.jython.org is the place for answers. From that site:
"We will always strive to ensure that Jython remains as compatible with CPython as possible. Nevertheless, there are a number of differences between the two implementations that are unlikely to go away."
jython examples?
2005-02-26 11:48:00
dor
[Reply | View]