Customers who viewed this item also viewed
Buy new:
$58.18$58.18
FREE delivery Monday, February 9
Advertisement
Ships from: Amazon Sold by: Yakutstore
Save with Used - Very Good
$7.02$7.02
FREE delivery February 13 - 18
Advertisement
Ships from: ThriftBooks-Baltimore Sold by: ThriftBooks-Baltimore
Sorry, there was a problem.
There was an error retrieving your Wish Lists. Please try again.Sorry, there was a problem.
List unavailable.
Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.
Read instantly on your browser with Kindle for Web.
Using your mobile phone camera - scan the code below and download the Kindle app.
Follow the author
OK
Head First Python: A Brain-Friendly Guide 2nd Edition
Purchase options and add-ons
Want to learn the Python language without slogging your way through how-to manuals? With Head First Python, you'll quickly grasp Python's fundamentals, working with the built-in data structures and functions. Then you'll move on to building your very own webapp, exploring database management, exception handling, and data wrangling. If you're intrigued by what you can do with context managers, decorators, comprehensions, and generators, it's all here. This second edition is a complete learning experience that will help you become a bonafide Python programmer in no time.
Why does this book look so different? Based on the latest research in cognitive science and learning theory, Head First Pythonuses a visually rich format to engage your mind, rather than a text-heavy approach that puts you to sleep. Why waste your time struggling with new concepts? This multi-sensory learning experience is designed for the way your brain really works.
- ISBN-101491919531
- ISBN-13978-1491919538
- Edition2nd
- PublisherO'Reilly Media
- Publication dateDecember 27, 2016
- LanguageEnglish
- Dimensions8.25 x 1.5 x 9.25 inches
- Print length622 pages
There is a newer edition of this item:
Frequently bought together

Deals on related products
Customers also bought or read
- Head First Learn to Code: A Learner's Guide to Coding and Computational Thinking
Paperback$24.25$24.25Delivery Mon, Feb 9 - Head First JavaScript Programming: A Brain-Friendly Guide
Paperback$22.28$22.28FREE delivery Feb 11 - 18 - Automate the Boring Stuff with Python, 2nd Edition: Practical Programming for Total Beginners
Paperback$30.86$30.86Delivery Feb 28 - Mar 4 - Python Crash Course, 3rd Edition: A Hands-On, Project-Based Introduction to Programming#1 Best SellerIntroductory & Beginning Programming
Paperback$27.53$27.53Delivery Mon, Feb 9 - Learn Python 3 the Hard Way: A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code (Zed Shaw's Hard Way Series)
Paperback$20.93$20.93Delivery Feb 13 - 19 - Head First Java: A Brain-Friendly Guide#1 Best SellerJava Programming Reference
Paperback$43.99$43.99FREE delivery Mon, Feb 9 - Head First Python: A Learner's Guide to the Fundamentals of Python Programming, A Brain-Friendly Guide
Paperback$39.84$39.84FREE delivery Feb 18 - 21 - Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython
Paperback$65.00$65.00FREE delivery Mon, Feb 9 - Fluent Python: Clear, Concise, and Effective Programming
Paperback$43.99$43.99FREE delivery Mon, Feb 9 - Python Crash Course, 2nd Edition: A Hands-On, Project-Based Introduction to Programming
Paperback$15.58$15.58Delivery Feb 17 - 21 - JavaScript Crash Course: A Hands-On, Project-Based Introduction to Programming
Paperback$30.28$30.28Delivery Mon, Feb 9 - Head First Programming: A learner's guide to programming using the Python language
Paperback$28.50$28.50Delivery Mon, Feb 9 - The Pragmatic Programmer: Your Journey To Mastery, 20th Anniversary Edition (2nd Edition)#1 Best SellerSoftware Testing
Hardcover$49.89$49.89FREE delivery Mon, Feb 9 - Head First Software Development: A Learner's Companion to Software Development
Paperback$18.16$18.16Delivery Mar 1 - 11 - Python Programming: An Introduction to Computer Science, 3rd Ed.
Paperback$45.00$45.00FREE delivery Mon, Feb 9
From the brand
-
Explore the full series
-
Brain-Friendly Guides
-
Brain-Friendly Guides
-
Explore the full series
-
Learning isn't something that just happens to you. It's something you do. Learning means building more mental pathways, bridging connections between new and pre-existing knowledge, recognizing patterns, and turning facts and information into knowledge (and ultimately, wisdom).
Based on the latest research in cognitive science, neuro-biology, and educational psychology, Head First books get your brain into learning mode.
From the Publisher
About 'Head First' Books
We think of a Head First Reader as a Learner
Learning isn't something that just happens to you. It's something you do. You can't learn without pumping some neurons. Learning means building more mental pathways, bridging connections between new and pre-existing knowledge, recognizing patterns, and turning facts and information into knowledge (and ultimately, wisdom). Based on the latest research in cognitive science, neurobiology, and educational psychology, Head First books get your brain into learning mode.
Here's how we help you do that:
We tell stories using casual language, instead of lecturing. We don't take ourselves too seriously. Which would you pay more attention to: a stimulating dinner party companion, or a lecture?
We make it visual. Images are far more memorable than words alone, and make learning much more effective. They also make things more fun.
We use attention-grabbing tactics. Learning a new, tough, technical topic doesn't have to be boring. The graphics are often surprising, oversized, humorous, sarcastic, or edgy. The page layout is dynamic: no two pages are the same, and each one has a mix of text and images.
Metacognition: thinking about thinking
If you really want to learn, and you want to learn more quickly and more deeply, pay attention to how you pay attention. Think about how you think. The trick is to get your brain to see the new material you're learning as Really Important. Crucial to your well-being. Otherwise, you're in for a constant battle, with your brain doing its best to keep the new content from sticking.
If you answer 'yes' to all of these, this book is for you
- Do you already know how to program in another programming language?
- Do you wish you had the know-how to program Python, add it to your list of tools, and make it do new things?
- Do you prefer actually doing things and applying the stuff you learn over listening to someone in a lecture rattle on for hours on end?
Here's what we do:
We use pictures, because your brain is tuned for visuals, not text. As far as your brain's concerned, a picture really is worth a thousand words. And when text and pictures work together, we embedded the text in the pictures because your brain works more effectively when the text is within the thing the text refers to, as opposed to in a caption or buried in the text somewhere.
We use redundancy, saying the same thing in different ways and with different media types, and multiple senses, to increase the chance that the content gets coded into more than one area of your brain.
We use concepts and pictures in unexpected ways because your brain is tuned for novelty, and we use pictures and ideas with at least some emotional content, because your brain is more likely to remember when you feel something.
We use a personalized, conversational style, because your brain is tuned to pay more attention when it believes you're in a conversation than if it thinks you're passively listening to a presentation.
We include many activities, because your brain is tuned to learn and remember more when you do things than when you read about things. And we make the exercises challenging-yet-do-able, because that's what most people prefer.
We use multiple learning styles, because you might prefer step-by-step procedures, while someone else wants to understand the big picture first, and someone else just wants to see an example. But regardless of your own learning preference, everyone benefits from seeing the same content represented in multiple ways.
We include content for both sides of your brain, because the more of your brain you engage, the more likely you are to learn and remember, and the longer you can stay focused. Since working one side of the brain often means giving the other side a chance to rest, you can be more productive at learning for a longer period of time.
We include challenges by asking questions that don't always have a straight answer, because your brain is tuned to learn and remember when it has to work at something.
Finally, we use people in our stories, examples, and pictures, because, well, you're a person. Your brain pays more attention to people than to things.
Editorial Reviews
About the Author
Product details
- Publisher : O'Reilly Media
- Publication date : December 27, 2016
- Edition : 2nd
- Language : English
- Print length : 622 pages
- ISBN-10 : 1491919531
- ISBN-13 : 978-1491919538
- Item Weight : 2.31 pounds
- Dimensions : 8.25 x 1.5 x 9.25 inches
- Best Sellers Rank: #295,394 in Books (See Top 100 in Books)
- #16 in Object-Oriented Software Design
- #231 in Python Programming
- #497 in Software Design, Testing & Engineering (Books)
- Customer Reviews:
About the author

Paul lives in Ireland and works at the South East Technological University (SETU), where he is based at the Kilkenny Road Campus in Carlow. Paul lectures as part of the academic Computing Department, and has taught for a long time, using Python with all of his class groups for close to fifteen years.
Paul spent the late ‘80s and early ‘90s working in the IT industry, mainly within a Healthcare setting in Canada. He’s also written other books and—back in the day— was a contributing editor at Linux Journal magazine.
Related products with free delivery on eligible orders
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonCustomers say
Generated from the text of customer reviewsSelect to learn more
Reviews with images
Easy to pick up
Top reviews from the United States
There was a problem filtering reviews. Please reload the page.
- Reviewed in the United States on January 7, 2018Format: PaperbackVerified PurchaseI'm learning Python for my job. My specific application is focused on data science and rote task automation.
Before getting this book, I had picked up a copy of "Automate the Boring Stuff With Python" and "Python for Data Analysis". Both books do a solid job of introducing you to the areas of interest, but neither do a very good job of teaching a novice like myself how to start programming in Python (in my humble opinion). In those two books, I would struggle to get through the end-of-chapter test programs, because they required a lot of information that either wasn't addressed, or wasn't discussed until later in the book.
That's where this book comes in. The explanations are intuitive, easy to follow, and the topics are covered in a way that facilitates (successful) user experimentation. Right now, I'm using all three books in tandem and things are starting to click and my code is starting to work with a lot less Googling and a little more tinkering on my part. Head First Python is a pretty quick read because of all of the graphics and generous spacing. Although I tend to prefer a sense of order, the cartoonish-looking page layouts really do aid the learning process. I believe that there is a psychological effect experienced by some people, wherein turning a page imparts a sense of progress. You will certainly turn a lot of pages quickly when reading this book, because of the layouts. This may give some people the fuel to keep going for longer stretches than they would if they were reading 50-page chapters of dense, verbose material.
At the end of the day, I highly recommend this book, especially if you want to supplement it with something that pushes you a little more toward a specific application of Python. In my spare time over the last three weeks, I've cleared about 200 pages of each of the 3 books and I've written around 20 or 30 little programs (on top of dozens of hours in the iPython shell). By the end of week 4, I expect to start producing code for some of my medium-scope projects, and I'll continue to build on it as I learn.
- Reviewed in the United States on January 21, 2017Format: PaperbackVerified PurchaseExcellent introduction to Python. The book focuses on being fun to read and providing a real understanding of why things work the way they do. The other two intro to Python books I have are not fun to read and concentrate more on trying to teach the reader as many functions as possible but at the cost of being a bit dry.
The author spends several chapters explaining how Python can be used to create a web app that stores and manipulates user entered data in text and SQL databases. This is also a topic I was very interested in but assumed I would need another book for it.
I invested about 30 hours over 2 weeks going through this book and I feel that I now truly understand the foundation of how Python works. This book is definitely not a reference book but that's what Google is for.
- Reviewed in the United States on August 13, 2021Format: PaperbackVerified PurchaseThis book does a great job at explaining all the fine details of Python 3, and makes it easy for both beginners or intermediate developers alike. I was able to quickly get back up to speed with my programming skills with this book and now feel confident in my basic understanding of Python. The practice problems in this book help keep you up to speed with each chapter as well. If you want to take you Python skills from 0-100, I would highly recommend this book as you’ll learn more than any university book that’ll be given to you. I honestly with my university had made this my first book. In my opinion, this the best beginner book by a long shot.
- Reviewed in the United States on December 25, 2017Format: PaperbackVerified PurchaseWhen faced with a bunch of different Python books, this one looked like the most engaging. I opted for the Kindle edition, as I assumed that the search function would be essential.
To be sure, HFP gets you right into coding. Before you know it, you're writing programs. I also revisited some SQL statements and learned some Mac Terminal commands along the way. I found Homebrew and MariaDB far easier to navigate than MySQL.
I was able to follow along and endure the inevitable bumps. (One minor pet peeve: Kindle search didn't pick up code because the publisher chose to store these snipets as pictures. This made searching more difficult.)
My mind is like oatmeal because a newbie programmer cannot learn a robust general-purpose language such as Python in ten days. Still, I enjoyed the book and know 100x as much about Python as I did two weeks ago.
- Reviewed in the United States on March 30, 2019This was exactly what I was looking for. Get's right to the point. Starts with simple yet interesting little programs right away. I started with "Learning Python". That book is so insanely mis-titled. It's freakin 1650 pages and introduces a tiny idea followed by 100 pages of permutations. The most boring book in the universe. Okay if you want a reference.
This book has you start programming right away. It's written in a readable style and teaches you the stuff you want to know to get rolling. Infinitely preferrable.
- Reviewed in the United States on January 12, 2021Format: PaperbackVerified PurchaseI've been learning from O'Reilly books for 21 years now, and I've never found anything to complain about in them. The Head First group of books has over the last few years become on of my favorite series from them. I've been programming for 24 years. My first O'Reilly book was the Camel book--the PERL reference, which helped me quickly reach a new level of competency in programming. My affinity for the Head First books is that they take the usual 101 textbook format and make it fun, interesting, and dialectically unique, in a common format. Down to a science. The writing, images, diagrams, asides, and everything else makes each book familiar but distinct, and easy to work through as leisure. I've been programming since I was 17, and most books back then were aimed at college students or professionals. It's nice to find books I can learn from leisurely, as I want to learn as many languages as I can. And these are also books I would suggest for younger programming enthusiasts at any level as a thorough introduction.
Top reviews from other countries
Himanshu ModiReviewed in the United Kingdom on January 15, 20205.0 out of 5 stars Really good primer for beginners
Format: PaperbackVerified PurchaseI am a little surprised at the lack of reviews of this book here in UK. It's a great book to get started with Python. When it introduces new things, it doesn't let the student just go in the wild world of Google to search them. For e.g. when writing a web app, it actually walks you through the basics of flask - other video tutorials just say install flask and run these commands. And you are expected to follow without understanding what it all means. I am not expecting a detailed web development lesson in a python book, but good to understand the basics.
I will say this - do not attempt to read the kindle version - not available in UK anyways. The book uses various visual tools to enhance stickiness of what it teaches. There are "snippets" - hand-written-note-style text and all, which is impossible to read on a kindle. Perhaps you can if you are using an iPad to read kindle book. But still not as functional as the actual book, which makes me feel like I am back in college. It's a good feeling to have in mid-30s.
Content wise, absolutely top notch for a beginner.
PrashantReviewed in India on May 25, 20215.0 out of 5 stars Amazing book
I strongly recommend this for beginner and intermediate developers . Even advance python developer can use this .
Paul has very well explained every concept . I am just reading the chapter on Decorators and came here just to give comment ! This book == learn by doing . He used Flask web framework to explain the concept of Python which is very engaging !!!!
KaitoReviewed in Singapore on July 27, 20215.0 out of 5 stars Highly recommended, well-rounded learning aid.
Format: PaperbackVerified PurchaseA great book to start your Python journey. Guides reader through a well-rounded experience involving webapps and databases. It pushes one gently out of comfort zone, into the learning zone.
I also like the sharing of insights on various aspects of Python and OOP.
The informal writing style and adequate repetitions were great for reinforcing the lessons. The mini 'tests' were helpful in internalizing knowledge and working the brain.
The book is by no means exhaustive, but I found it a great learning aid.
-
Très bienReviewed in Canada on September 9, 20245.0 out of 5 stars Super bien
Format: PaperbackVerified PurchaseBon ouvrage
-
José Huerta IbarraReviewed in Mexico on September 23, 20215.0 out of 5 stars Está elaborado a partir de principios didácticos
Es un libro que tiene una organización didáctica notable. Sigue los principios psicopedagógicos disponibles derivados de las investigaciones mas recientes en torno a el aprendizaje y la enseñanza contingente. En el prólogo destaca los fundamentos sobre los que se ha elaborado el contenido orientado a la adquisición del conocimiento mediante la práctica y el ejercicio de las habilidades basadas en la ejercitación de actividades que consoliden el aprendizaje tendiente a una aplicación profesional del conocimiento.
Un lenguaje de complejidad creciente expresa los temas guiando al lector-aprendiz en la adquisición del conocimiento que al cabo de cada capítulo se admira de haber logrado superar la complejidad inherente a la programación. Cumple eficazmente con las promesas ofrecidas. Es un libro que se podría emplear en una clase de pedagogía para evidenciar cómo lograr la aplicación de los principios descubiertos en las investigaciones psicopedagógicas sobre el aprendizaje de temas complejos.























