Head First Python: A Brain-Friendly Guide

Front Cover
"O'Reilly Media, Inc.", Nov 15, 2010 - Computers - 494 pages

Ever wished you could learn Python from a book? Head First Python is a complete learning experience for Python that helps you learn the language through a unique method that goes beyond syntax and how-to manuals, helping you understand how to be a great Python programmer. You'll quickly learn the language's fundamentals, then move onto persistence, exception handling, web development, SQLite, data wrangling, and Google App Engine. You'll also learn how to write mobile apps for Android, all thanks to the power that Python gives you.

We think your time is too valuable to waste struggling with new concepts. Using the latest research in cognitive science and learning theory to craft a multi-sensory learning experience, Head First Python uses a visually rich format designed for the way your brain works, not a text-heavy approach that puts you to sleep.

 

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

table of contents
1
nester
33
Prepare your distribution
40
Register with the PyPI website
47
Before your write new code think
53
Work out whats wrong
59
Your module supports both APIs
65
Your Python Toolbox
71
Inherit from Pythons builtin list
204
Coach Kelly is impressed
211
web development
213
Small devices
255
Configure the SDK and emulator
261
The SL4A Android API
274
The athletes data CGI script
281
The Object
285

table of contents
73
persistence
105
Files are left open after an exception
114
Use with to work with files
120
Why not modify print_lol?
126
Pickle your data
132
Your Python Toolbox
138
table of contents
139
work Along the way youll pick up a few new tricks relating to Pythons functions
140
guaranteed to give
173
Bundle your code and its data in a class
189
table of contents
293
argument? No you havent
308
The Web is a great place to host your appuntil things get real
351
App Engine uses the MVC pattern
359
Djangos form validation framework
368
Restrict input by providing options
376
Dont break the robustness principle
384
Capture your users Google ID too
390
table of contents
397
leftovers
435
Copyright

Other editions - View all

Common terms and phrases

About the author (2010)

Paul Barry is formally educated and trained in Computer Science and holds a Masters Degree in Computing Science. He has been programming professionally, on and off, for close to 25 years. Paul already has two textbooks to his name, and is also a Contributing Editor to Linux Journal magazine. His day job is with the Institute of Technology, Carlow in Ireland where he has spent over a decade preparing Ireland's next generation of computing folk to be productive in the workforce. His role as a third level educator affords him the opportunity to explore, learn and teach the very latest programming technologies and practices, which is something that he enjoys even though he knows this makes him a bonafide "geek". Paul lives just outside the town of Carlow in Ireland with his wife, two sons, daughter, dog and cat. There's a bunch of computers and a growing collection of music instruments in the house, too (and like a lot of the Head First family, Paul is a struggling guitarist trapped inside a geek's body). He has so far resisted any suggestion that the family acquire a hamster ... or a set of drums.

Bibliographic information