Start reading Python in 24 Hours, Sams Teach Yourself (2nd Edition) on your Kindle in under a minute. Don't have a Kindle? Get your Kindle here or start reading now with a free Kindle Reading App.

Deliver to your Kindle or other device


Try it free

Sample the beginning of this book for free

Deliver to your Kindle or other device

Anybody can read Kindle books—even without a Kindle device—with the FREE Kindle app for smartphones, tablets and computers.
Python in 24 Hours, Sams Teach Yourself (2nd Edition)

Python in 24 Hours, Sams Teach Yourself (2nd Edition) [Kindle Edition]

Katie Cunningham
5.0 out of 5 stars  See all reviews (2 customer reviews)

Print List Price: £22.99
Kindle Price: £11.04 includes VAT* & free wireless delivery via Amazon Whispernet
You Save: £11.95 (52%)
* Unlike print books, digital books are subject to VAT.


Amazon Price New from Used from
Kindle Edition £11.04  
Paperback £15.63  
Kindle Daily Deal
Kindle Daily Deal: At least 60% off
Each day we unveil a new book deal at a specially discounted price--for that day only. Learn more about the Kindle Daily Deal or sign up for the Kindle Daily Deal Newsletter to receive free e-mail notifications about each day's deal.

Customers Who Bought This Item Also Bought

Product Description

Product Description

In just 24 sessions of one hour or less, Sams Teach Yourself Python in 24 Hours will help you get started fast, master all the core concepts of programming, and build anything from websites to games. Using this book’s straightforward, step-by-step approach, you’ll move from the absolute basics through functions, objects, classes, modules, database integration, and more. Every lesson and case study application builds on what you’ve already learned, giving you a rock-solid foundation for real-world success!


Step-by-step instructions carefully walk you through the most common Python development tasks.


Quizzes and Exercises at the end of each chapter help you test your knowledge.


Notes present interesting information related to the discussion.


Tips offer advice or show you easier ways to perform tasks.


Warnings alert you to possible problems and give you advice on how to avoid them.


Learn how to…

  • Install and run the right version of Python for your operating system
  • Store, manipulate, reformat, combine, and organize information
  • Create logic to control how programs run and what they do
  • Interact with users or other programs, wherever they are
  • Save time and improve reliability by creating reusable functions
  • Master Python data types: numbers, text, lists, and dictionaries
  • Write object-oriented programs that work better and are easier to improve
  • Expand Python classes to make them even more powerful
  • Use third-party modules to perform complex tasks without writing new code
  • Split programs to make them more maintainable and reusable
  • Clearly document your code so others can work with it
  • Store data in SQLite databases, write queries, and share data via JSON
  • Simplify Python web development with the Flask framework
  • Quickly program Python games with PyGame
  • Avoid, troubleshoot, and fix problems with your code



About the Author

Katie Cunningham is a Python developer at Cox Media Group. She’s a fervent advocate for Python, open source software, and teaching people how to program. She’s a frequent speaker at open source conferences, such as PyCon and DjangoCon, speaking on beginners’ topics such as someone’s first site in the cloud and making a site that is accessible to everyone.


She also helps organize PyLadies in the DC area, a program designed to increase diversity in the Python community. She has taught classes for the organization, bringing novices from installation to writing their first app in 48 hours.


Katie is an active blogger at her website ( ), covering issues such as Python, accessibility, and the trials and tribulations of working from home.


Katie lives in the DC area with her husband and two children.


Product details

  • Format: Kindle Edition
  • File Size: 9756 KB
  • Print Length: 320 pages
  • Simultaneous Device Usage: Up to 5 simultaneous devices, per publisher limits
  • Publisher: Sams Publishing; 2 edition (10 Sep 2013)
  • Sold by: Amazon Media EU S.à r.l.
  • Language: English
  • Text-to-Speech: Enabled
  • X-Ray:
  • Average Customer Review: 5.0 out of 5 stars  See all reviews (2 customer reviews)
  • Amazon Bestsellers Rank: #76,851 Paid in Kindle Store (See Top 100 Paid in Kindle Store)
  •  Would you like to give feedback on images?

More About the Author

Discover books, learn about writers, and more.

What Other Items Do Customers Buy After Viewing This Item?

Customer Reviews

4 star
3 star
2 star
1 star
5.0 out of 5 stars
5.0 out of 5 stars
Most Helpful Customer Reviews
1 of 1 people found the following review helpful
5.0 out of 5 stars Super cool. 5 July 2014
Format:Kindle Edition|Verified Purchase
It was really good and it has renewed my own controversial theory that women are better at teaching programming than men. Go figure.
Comment | 
Was this review helpful to you?
1 of 2 people found the following review helpful
5.0 out of 5 stars Sam Teach YourSelf Python 2 April 2014
By derick
Format:Kindle Edition|Verified Purchase
Best Book out of all the books I got

very very Good

very simple and easy to read and comprehensive
Comment | 
Was this review helpful to you?
Most Helpful Customer Reviews on (beta) 4.1 out of 5 stars  7 reviews
8 of 8 people found the following review helpful
4.0 out of 5 stars An excellent book for a beginner 14 Oct 2013
By Barry D. Morrison - Published on
Format:Paperback|Verified Purchase
Overall I really liked the book. It was well written, explaining concepts very simply, that a beginner should be able to understand. By the very nature of this book (1 hour per chapter, over 24 hours), this book is not inclusive of all that is Python, but it covers the basics very well. I would honestly suggest this book as _the_ book to read for someone with no prior programming or Python experience. BUT, it does fall short in a few places, so this book should be supplemented with other resources after having read it to fill in the gaps. I realize that this book was not intended to be something like the Llama book (which is extremely verbose), it does not mention things that I often wonder if a beginner might get lost/confused on. Regardless, the basics are covered very well and I would recommend this without hesitation.
3 of 3 people found the following review helpful
5.0 out of 5 stars Excellent Python book for beginners and seasoned programmers 5 July 2014
By Charles Chan - Published on
- Short, focused chapters with clear examples. Each chapter is re-enforced with real world exercises and gradually builds up knowledge.
- Covers the essential elements necessary for getting started with Python. But also covers constructs for building larger programs using classes and modules.
- Later chapters introduces other relevant information such as debugging, databases, SQL, JSON, PyGame, Git so you can build useful programs and work with modern development tools.
- Provides additional references to the Python ecosystem/community for readers who are interest in going further.

Although I have lots of background experience with Java/C/C++, this book is a joy to read and help me understand how to get started with Python. The pace and length of each chapter is perfect and helps me stay on the learning track.

A excellent book for anyone who want to learn Python for school/work/personal projects!
5 of 6 people found the following review helpful
3.0 out of 5 stars Good Book Except for One Glaring Error - Hour 17 Examples Didn't Work For Me 20 Nov 2013
By Amazon Customer - Published on
Format:Kindle Edition|Verified Purchase
I purchased this on Kindle and used it through the Cloud Reader. I wanted (badly) to give this book 5 stars. However, I could not get the code examples in Hour 17 to work at all. I even wrote the author - she did not respond to me on Google+. The rest of the book was great, aside from some small typos (which I actually thought might be due to it being a Kindle version and not a printed version of the book). It did what it said it would - I learned the basics of Python. My issue, though, is in the fact that someone could publish a book that contains an incomplete or invalid chapter - I would love to know what is missing in Hour 17, but I will have to try to figure it out on my own, or rely on someone who is not a beginner to assist me.
5.0 out of 5 stars great starter book. 21 April 2014
By BrianHelp - Published on
Format:Paperback|Verified Purchase
This is a great starter book for python. Great for a beginner. I was over the knowledge of this book so I ended up having to skip through most of the chapters. The real reason I needed this book was for the syntax. Everything else I didn't care much for, but if I was a beginner this book really would of helped to introduce some of the planning of programs and how to write them based on a plan.
4.0 out of 5 stars Good beginner book 6 April 2014
By Konrad Roeder - Published on
Format:Paperback|Verified Purchase
If you had two weeks to learn the basics of Python, this is a good beginner book, taking about a couple of hours to work through a chapter and the examples. I used this book as a supplement to Python Programming for the Absolute Beginner. The two books somewhat complement each other. For someone that has knowledge in an OO language like Java or C#, it's a bit of a slow read.
Were these reviews helpful?   Let us know
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
First post:
Prompts for sign-in

Search Customer Discussions
Search all Amazon discussions

Look for similar items by category