Beginning Python: Using Python 2.6 and Python 3.1
- 10h 56m
- James Payne
- John Wiley & Sons (US)
- 2010
Create a robust, reliable, and reusable Python application
As an open source, object-oriented programming language, Python is easy to understand, extendable, and user-friendly. This book covers every aspect of Python so that you can get started writing your own programs with Python today. Author James Payne begins with the most basic concepts of the Python language—placing a special focus on the 2.6 and 3.1 versions—and he offers an in-depth look at existing Python programs so you can learn by example. Topics progress from strings, lists, and dictionaries to classes, objects, and modules. With this book, you will learn how to quickly and confidently create a robust, reliable, and reusable Python application.
Beginning Python:
- Introduces the concepts of variables for storing and manipulating data
- Examines files and input/output for reading or writing data
- Reviews examples of often-overlooked features of Python
- Delves into writing tests for modules and programs
- Addresses programming with a graphical user interface in Python
- Places special focus on XML, HTML, XSL, and related technologies
- Explains how to extend Python
- Shares numerical programming techniques
- Offers an inside look at Jython, a version of Python written in Java
About the Author
James Payne is Editor in Chief of www.developershed.com, a network of high-technology sites that serves millions of unique visitors every month who are seeking tutorials, advice, answers, or articles.
In this Book
-
Introduction
-
Programming Basics and Strings
-
Numbers and Operators
-
Variables—Names for Values
-
Making Decisions
-
Functions
-
Classes and Objects
-
Organizing Programs
-
Files and Directories
-
Other Features of the Language
-
Building a Module
-
Text Processing
-
Testing
-
Writing a GUI with Python
-
Accessing Databases
-
Using Python for XML
-
Network Programming
-
Extension Programming with C
-
Numerical Programming
-
An Introduction to Django
-
Web Applications and Web Services
-
Integrating Java with Python