Skip to content

Python Programming with the Java Class Libraries A Tutorial for Building Web and Enterprise Applications with Jython

Best in textbook rentals since 2012!

ISBN-10: 0201616165

ISBN-13: 9780201616163

Edition: 2003

Authors: Richard Hightower

List price: $49.99
Blue ribbon 30 day, 100% satisfaction guarantee!
what's this?
Rush Rewards U
Members Receive:
Carrot Coin icon
XP icon
You have reached 400 XP and carrot coins. That is the daily max!

Python and Java are natural team-mates. Using Python together with the Java class libraries, developers at all levels can leverage Python's simplicity and Java's power together, building advanced Web and enterprise applications with remarkable speed and efficiency. Richard Hightower shows how, from start to finish. Using step-by-step examples, Hightower introduces the fundamentals of Python and object-oriented programming. You'll learn how to work with files, use Python's intrinsic functionality, and take advantage of Python's powerful string handling capabilities. Next, Hightower shows how to interface with Java APIs; how to build Swing graphical applications more easily with JPython; and,…    
Customers also bought

Book details

List price: $49.99
Copyright year: 2003
Publisher: Addison Wesley Professional
Publication date: 6/28/2002
Binding: Paperback
Pages: 640
Size: 7.25" wide x 9.00" long x 1.25" tall
Weight: 2.090
Language: English

Preface
Jython Overview
Programming, Briefly
Learning Python First
Python the Language
Starting with Python
Basic Functions with Python
Python as a Main Program
The Fast Track
The Power of Python
Where Do You Go from Here?
Statements and Expressions
Comments and Document Strings
Statements
Expressions
Variables
Data Types
Python Collection Types
Advanced Topic: Determining Types at Runtime
Literals
Operators and String Formatting
Operators
Formatting Strings-Modulus
Control Flow
The if Statement
The while Statement
The for Statement
Putting It All Together
Organizing Your Code
Evolution of a Programmer
Code Blocks and Namespaces
Modules
Functions and Methods
Putting Things Together
Classes
Packages
Globals and the Global Statement
Object-Oriented Programming
What Is OOP? Objects and Classes
Special Class Methods
Inheritance
Polymorphism
Errors and Exceptions
Syntax and Sequence Errors
The Danger of Exceptions
The try Statement
The raise Statement
Classes and Instances as Exceptions
Getting the Most Out of Your Exceptions
Working with Files
Simple File Operations
Common File Methods
Putting It All Together: The Address Book Example
The Full address3.py Code
Persisting Objects withpickle. pickleand the Address Book Application
Built-In Functions
Conversion
Namespace: dir(), globals(), locals(), vars(). Type Checking: callable(), type(). Operations
Advanced Topic: Functional Programming
Advanced exec and eval
Working with Strings
Conversion: atoi(), atof(), atol()
Case Change: capitalize(), capwords(), swapcases(), lower(),upper()
Finding: find(), rfind(), index(), rindex(), count(), replace()
Splitting and Joining: split(), splitfields(), join(), joinfields()
Stripping and Parsing: lstrip(), rstrip(), strip()
Adjusting Text: ljust(), rjust(), center(), zfill(), expandtabs()
Interfacing with Java
Using the Java APIs
Java Types
Java Constructors
Java Arrays and jarray
Java Arrays and Methods
Bean Properties
Properties
Java Event Handling
Subclassing Java Classes
Advanced Topics
Working with Java Streams
The Java Way of File Operations
Text Streams
Binary Streams: InputStream and OutputStream
DataInput and DataOutput
The File Class
The RandomAccessFile Class
The StreamTokenizer Class
Persisting Objects with Java Streams
Using Java Streams to Work with Memory
JFC Fundamentals
Components and Containers
JFrame
Handling Events with JFrame
The Python Way of Handling Events
The Class Hierarchy for JFrame and Frame
JPanel
JLabel
JComponent
JButton
JTextField
JCheckBox
JRadioButton
List and Jlist
First Swing Application, Layout, and Menu
Putting Things Together with Basic Java GUIs
Adding an Input Form for an Address Entry: The Prototype
Adding an Input Form for an Address Entry: First Cut
Addi