Addison-Wesley Professional, 2007. — 325 p. — ISBN: 0201709384, 9780201709384
Learn to Program Using Python is a rarity in today's marketplace: a great introduction to programming for true beginners. It started as a hugely popular Web tutorial; reflecting comments from learners worldwide, author Alan Gauld has extended it into book form, adding new material, deeper explanations, and more code examples. Gauld introduces programming through Python, an extremely popular language that's easy to start with, available on virtually every platform, and is powerful enough to serve your needs for years to come. He starts with the absolute basics: what programming is, and the character and mindset of a successful programmer. Next, he introduces the concepts of data, operations, sequences, and loops; and shows how to interact with users. Gauld then walks through branching, modules, functions, file handling, error handling, and recursion. Once you've mastered the basics, he introduces object-oriented programming, and more advanced techniques. The book concludes with two detailed object-oriented case studies. For all beginning programmers, power users, and users of other programming languages who want to learn Python.
Learning to program
Learning to program
What do I need to be a programmer?
What is programming?
Getting Started
Simple sequences
Data
More Sequences
Looping the loop
A Little Bit of Style
Input
Conditionals
Functions and Modules
File Handling
Text Handling
Error Handling
Namespaces
Regular Expressions
Classes
Event Driven Programs
Introduction to GUI Programming
Recursion
Introduction to Functional Programming
A Case Study
Python in Practice
Working with Databases
Working with the Operating System
Inter-Process Communications
Inter-Process Communications