These promotions will be applied to this item:
Some promotions may be combined; others are not eligible to be combined with other offers. For details, please see the Terms & Conditions associated with these promotions.
Your Memberships and Subscriptions
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.
Python Pocket Reference: Python In Your Pocket (Pocket Reference (O'Reilly))
Updated for both Python 3.4 and 2.7, this convenient pocket guide is the perfect on-the-job quick reference. Youâ??ll find concise, need-to-know information on Python types and statements, special method names, built-in functions and exceptions, commonly used standard library modules, and other prominent Python tools. The handy index lets you pinpoint exactly what you need.
Written by Mark Lutzâ??widely recognized as the worldâ??s leading Python trainerâ??Python Pocket Reference is an ideal companion to Oâ??Reillyâ??s classic Python tutorials, Learning Python and Programming Python, also written by Mark.
This fifth edition covers:
- Built-in object types, including numbers, lists, dictionaries, and more
- Statements and syntax for creating and processing objects
- Functions and modules for structuring and reusing code
- Pythonâ??s object-oriented programming tools
- Built-in functions, exceptions, and attributes
- Special operator overloading methods
- Widely used standard library modules and extensions
- Command-line options and development tools
- Python idioms and hints
- The Python SQL Database API
- ISBN-13978-1449356958
- Edition5th
- PublisherO'Reilly Media
- Publication date22 Jan. 2014
- LanguageEnglish
- File size1.7 MB
See all supported devices
Kindle E-Readers
- Kindle Paperwhite (6th Generation)
- Kindle (7th Generation)
- Kindle Oasis (8th Generation)
- Kindle Paperwhite (7th Generation)
- Kindle Voyage (7th Generation)
- Kindle Oasis (9th Generation)
- Kindle (8th Generation)
- Kindle Paperwhite (10th Generation)
- Kindle Oasis (10th Generation)
- Kindle (10th Generation)
- Kindle Paperwhite (12th Generation)
- Kindle (11th Generation, 2024 Release)
- Kindle Scribe (2024 Release)
- Kindle Colorsoft (1st Generation)
- Kindle Scribe (3rd Generation)
- Kindle Scribe (1st Generation, 2022 Release)
- Kindle Scribe Colorsoft (1st Generation)
Kindle Fire Tablets
- Fire 7 (9th Generation)
- Fire HD 8 (8th Generation)
- Fire HD 10 (9th Generation)
- Fire HD 10 (11th Generation)
- Fire HD 10 Plus
- Fire HD 8 (10th Generation)
- Fire 7 (12th Generation)
- Fire HD 8 (12th Generation)
- Fire HD 8 (12th Generation)
- Fire Max 11 (13th Generation)
- Fire 10 HD (13th Gen.)
- Fire HD 8 (12th Generation)
Free Kindle Reading Apps
- Kindle for Android
- Kindle for iPad
- Kindle for Android Tablets
- Kindle for PC
- Kindle for iPhone
- Kindle for Mac
- Kindle for Web
Shop this series
See full series- Kindle Price:USD 20.45-By clicking on the above button, you agree to Amazon's Kindle Store Terms of Use
Sold by: Amazon Media EU S.à r.l.
- Kindle Price:USD 32.54-By clicking on the above button, you agree to Amazon's Kindle Store Terms of Use
Sold by: Amazon Media EU S.à r.l.
- Kindle Price:USD 63.65-By clicking on the above button, you agree to Amazon's Kindle Store Terms of Use
Sold by: Amazon Media EU S.à r.l.
- Kindle Price:USD 283.60-By clicking on the above button, you agree to Amazon's Kindle Store Terms of Use
Sold by: Amazon Media EU S.à r.l.
Shop this series
Sold by: Amazon Media EU S.à r.l.
Sold by: Amazon Media EU S.à r.l.
Sold by: Amazon Media EU S.à r.l.
Sold by: Amazon Media EU S.à r.l.
This option includes 3 books.
This option includes 5 books.
This option includes 10 books.
This option includes 32 books.
Why can't I get these titles?
Under regulatory requirements, teens need a parent or guardian to buy or borrow titles. Ask your parent or guardian to acquire these titles for this account from their device. These books will appear in your Kindle library once they do.
In this series (34 books)

Customers who viewed this item also viewed
From the brand
-
Sharing the knowledge of experts
O'Reilly's mission is to change the world by sharing the knowledge of innovators. For over 40 years, we've inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
Product description
About the Author
Product details
- ASIN : B00HZ41PGC
- Publisher : O'Reilly Media
- Accessibility : Learn more
- Publication date : 22 Jan. 2014
- Edition : 5th
- Language : English
- File size : 1.7 MB
- Screen Reader : Supported
- Enhanced typesetting : Enabled
- X-Ray : Not Enabled
- Word Wise : Not Enabled
- Print length : 359 pages
- ISBN-13 : 978-1449356958
- Page Flip : Enabled
- Part of series : Pocket Reference (O'Reilly)
- Best Sellers Rank: 882,862 in Kindle Store (See Top 100 in Kindle Store)
- 81 in Object Oriented Design
- 305 in Python Programming
- Customer reviews:
About the authors

Mark Lutz is the author of Python's classic and foundational texts, a former trainer with two decades of experience teaching Python to newcomers, and one of the people responsible for the prominence that Python enjoys today. For more info, see the author's books and programming site at learning-python.com.

Discover more of the author’s books, see similar authors, read book recommendations and more.
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 analyses reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United Kingdom
- 5 out of 5 stars
good product
Reviewed in the United Kingdom on 27 May 2026good product
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Good pocket guide
Reviewed in the United Kingdom on 23 July 2020Good pocket guide, it does not cover everything so you will still need to use good ole Google. But is a good guide worth having.
2 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 4 out of 5 stars
Four Stars
Reviewed in the United Kingdom on 17 January 2016Elegant sufficiency!
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Great pocket guide.
Reviewed in the United Kingdom on 12 January 2019A great pocket guide to debugging python code. Many reference points in here which is useful for quick searching for solutions.
One person found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
its worth avin
Reviewed in the United Kingdom on 29 November 2020all good thanks, good reface book.
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 5 out of 5 stars
Very good
Reviewed in the United Kingdom on 16 October 2019Very good
Sending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 4 out of 5 stars
Book Review: "Python Pocket Reference" by Mark Lutz
Reviewed in the United Kingdom on 19 July 2015The first thing to note about the Python Pocket Reference is that if I was completely new to the Python programming language and wanted to pick up a handy reference guide to getting started with essential concepts, this would not be an ideal book for my needs whatsoever.
Apart from the single-page introduction, the book provides no logical flow that would allow someone new to Python to jump right in and start experimenting with basic functions and progress to advanced skills by the end of the book. There is other books that suit beginner Python programmers and I would suggest that a more detailed read in a tutorial format would suffice.
However, if you're an experienced Python programmer with existing awareness and knowledge of the topics covered (e.g. statements, syntax, types) then Lutz's reference is an excellent book to keep handy whenever you're working with Python code.
As this is not a tutorial or guide book, expect no images or graphics to break up large paragraphs of text, but instead well presented tables containing essential expressions linked to the current chapter and bullet-pointed lists with colour-coding and a distinctive preformatted typeface for code.
Regarded as support material for someone well versed in the conventions of the Python language, Lutz packs a large amount of convenient and useful information into the book's pocket-sized 210 pages and is able to concisely link related ideas together through dark red highlighting of chapter names within the text, serving as a sensible method of allowing programmers to read information related to a certain topic or function. The latest edition of the book (fifth) has been updated for the latest versions of Python – a reassurance to many programmers.
The stance taken in reviewing depends on your previous experience of working with the Python programming language and fundamental programming concepts.
Reviewer's Note: This review of "Python Pocket Reference" was written prior to 2015 and has been republished by the original author in July 2015.
6 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again - 1 out of 5 stars
Total Garbage.
Reviewed in the United Kingdom on 13 April 2015Absolute Garbage. Badly organized and missing basic stuff. Poorly indexed. Poor contents listing. Lack of any page headers whatsoever.
So there's nothing "convenient" about this book except it's physical size. But if you can't find any relevant info, then what's the point?
For example: I want to read about the "partition" string method. I look for "partition" in the index - it's not there. I look in the "Contents" - it's not there either. Where do I find it? Listed under Specific Built-in Types>String Methods. What do I find? Simply the word "S.partition(sep)" on page 36 with no further explanation. Nothing. So how is that supposed to help anyone learn anything about how partition() works? It's pointless.
Another example: Page 72 under "Variables" is says "See Atomic Terms and Dynamic Typing" - no page number reference - no hint of where to find "Atomic Terms and Dynamic Typing". It's not listed in the index or the contents. This type of anonymous redirection to "See this... or... see that..." is repeated countless times". Absolutely useless.
Straight away you can see this book is a total waste of paper and ink. There''s no page headers to direct you towards the material you're trying to find. Why? Because the material you want probably isn't even anywhere to be found.
This book is like a mini version of Lutz's useless 1500 page "Learning Python" - both are absolute Garbage as far as I'm concerned.
It's seems the publishers O'Reilly truly don't have a clue.
21 people found this helpfulSending feedback...Sending feedback...HelpfulThank you for your feedback.Sorry, we failed to record your vote. Please try againThank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Top reviews from other countries
Lionel4 out of 5 starsPerfect reference book. no unnecessary speech
Reviewed in the United Arab Emirates on 24 December 2020I'm an experienced developer but new to Python. This book is a good quick reference guide that complete perfectly Learning Python from same author
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
geraud guibert5 out of 5 starslivre de poche
Reviewed in France on 2 October 2015un petit livre de la serie des indispensables de la collection des o'reilly
bref, toujours un objet pratique et concis
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Gagan S4 out of 5 starsNice book, but a bit costly
Reviewed in India on 29 June 2016A bit costly since the book is imported. Can be very handy when you don't have access to Internet. Also, it can help you refresh your memory since it covers various topics concisely.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
Michel S.5 out of 5 starsHandy reference that saves time
Reviewed in Canada on 5 December 2018Great pocket guide , with time being of essence nowadays, it is faster for me to grab this book amd find a needed reference than googling it , especially when designing a logic amd you are away from your screen
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again
FM4 out of 5 starsMolto utile
Reviewed in Italy on 7 July 2018Il libro dà una panoramica piuttosto completa del linguaggio.
In realtà non è particolarmente efficace come reference, a causa di una certa prolissità e di un indice analitico davvero povero, ma è un'ottima panoramica del linguaggio per chi sa già programmare, decisamente superiore agli altri libri dello stesso autore che sono di una prolissità e dispersione eccessive.
Sending feedback...Thank you. We’ll investigate in the next few days.Sorry, We failed to report this review. Please try again


































