Sponsored
USD 10.30
You will be charged GBP 7.60

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.

You've subscribed to ! We will pre-order your items within 24 hours of when they become available. When new books are released, we'll charge your default payment method for the lowest price available during the pre-order period.
Update your device or payment method, cancel individual pre-orders or your subscription at
Your Memberships and Subscriptions

Buy as Gift

Give as a gift or purchase for a group.
Learn more

How it works

  1. Choose your delivery options
  2. Send now or schedule for later
  3. Add your personal message
  4. Recipients can read on any device

These Kindle Books can only be redeemed by recipients in your country. Redemption links and Kindle Books cannot be resold.

Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

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.

QR code to download the Kindle App

  • Python Pocket Reference: Python In Your Pocket (Pocket Reference (O'Reilly))

Follow the authors

Follow to get new release updates, special offers (including promotional offers), and improved recommendations.
Something went wrong. Please try your request again later.

Python Pocket Reference: Python In Your Pocket (Pocket Reference (O'Reilly))

4.5 out of 5 stars (997)

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
This title is only available on select devices and the latest version of the Kindle app. Please refer to the supported device list before purchase. Available on these devices

See all supported devices

Kindle E-Readers

  • Kindle Voyage (7th Generation)
  • Kindle (8th Generation)
  • Kindle Oasis (9th Generation)
  • Kindle Paperwhite (7th Generation)
  • Kindle Oasis (10th Generation)
  • Kindle Oasis (8th Generation)
  • Kindle (7th Generation)
  • Kindle (10th Generation)
  • Kindle Paperwhite (6th Generation)
  • Kindle Paperwhite (12th Generation)
  • Kindle (11th Generation, 2024 Release)
  • Kindle Paperwhite (10th Generation)
  • Kindle Scribe (3rd Generation)
  • Kindle Colorsoft (1st Generation)
  • Kindle Scribe Colorsoft (1st Generation)
  • Kindle Scribe (2024 Release)
  • Kindle Scribe (1st Generation, 2022 Release)

Kindle Fire Tablets

  • Fire Max 11 (13th Generation)
  • Fire HD 8 (8th Generation)
  • Fire HD 10 (9th Generation)
  • Fire HD 8 (10th Generation)
  • Fire HD 8 (12th Generation)
  • Fire 7 (9th Generation)
  • Fire 10 HD (13th Gen.)
  • Fire HD 8 (12th Generation)
  • Fire HD 8 (12th Generation)
  • Fire HD 10 (11th Generation)
  • Fire 7 (12th Generation)
  • Fire HD 10 Plus

Free Kindle Reading Apps

  • Kindle for Android
  • Kindle for Android Tablets
  • Kindle for iPhone
  • Kindle for iPad
  • Kindle for Mac
  • Kindle for Web
  • Kindle for PC
Sponsored

Shop this series

 See full series
There are 34 books in this series.
  • Kindle Price:
    USD 65.05
    -
    You will be charged £47.99
    By clicking on the above button, you agree to Amazon's Kindle Store Terms of Use
    Sold by: Amazon Media EU S.à r.l.

In this series (34 books)


From the brand

Product description

About the Author

Mark Lutz is the world leader in Python training, the author of Python's earliest and best-selling texts, and a pioneering figure in the Python community since 1992. He has been a software developer for 25 years, and is the author of O'Reilly's Programming Python, 3rd Edition and Python Pocket Reference, 3rd Edition.

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: 782,246 in Kindle Store (See Top 100 in Kindle Store)
  • Customer reviews:
    4.5 out of 5 stars (997)

About the authors

Follow authors to get new release updates, plus improved recommendations.

Customer reviews

4.5 out of 5 stars
997 global ratings

Customers say

Customers find this Python reference book to be a comprehensive guide that offers quick access to essential Python syntax, with one review noting its extensive collection of concise code examples. They appreciate its usefulness as a pocket reference, with one mentioning it's indispensable for quick lookups and on-the-spot coding. The book receives positive feedback for its learning value, with one customer noting it's a must-have for serious Python students. While customers find the book concise, they have mixed opinions about its clarity and content coverage.
AI Generated from the text of customer reviews

Select to learn more

23 customers mention content, 19 positive, 4 negative
Customers find the content of the book awesome and perfect, with one customer noting it's worth picking up.
Very goodRead more
good productRead more
all good thanks, good reface book.Read more
Four StarsRead more
17 customers mention comprehensive, 13 positive, 4 negative
Customers find the book to be a good quick reference guide that serves as an excellent Python programming resource, with one customer noting its extensive collection of concise code examples.
...But is a good guide worth having.Read more
A great pocket guide to debugging python code. Many reference points in here which is useful for quick searching for solutions.Read more
...It has a lot of useful information regarding the Python language including pointing out differences between versions 3.4 and 2.7....Read more
...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....Read more
13 customers mention pocket reference, 11 positive, 2 negative
Customers find the book helpful as a pocket reference, with one customer noting it's indispensable for quick lookups and on-the-spot coding.
A great pocket guide to debugging python code. Many reference points in here which is useful for quick searching for solutions.Read more
Good pocket guide, it does not cover everything so you will still need to use good ole Google. But is a good guide worth having.Read more
...but you just can't remember exact name or parameters, this is a great reminder.Read more
I like it so much! It's helpful! It's easy to find what you need. I using it for a while and I don't have any reason to complain....Read more
12 customers mention learning value, 9 positive, 3 negative
Customers find the book valuable for learning Python, with one mentioning it helps clarify complex concepts and another noting that examples are easy to understand.
Awesomeness. This little book got it you want. Examples are easy and straight to the point, you won't regret it in getting this little book.Read more
Learned a lot from this small book. I needed a reference book to fill gaps in basic Python knowledge and it offered exactly that....Read more
...- a reference to python commands, modules etc, with little learning value if you're a beginner....Read more
...These examples help clarify complex concepts and demonstrate best practices, making it easier for readers to apply the information in their own...Read more
10 customers mention reference, 8 positive, 2 negative
Customers find the book to be a great reference, with one mentioning it saves time.
A great referenceRead more
Great reference unless the book is put together weird.Read more
...room in both style and organization, but it's still a great pocket reference....Read more
...it's just a collection of tidbits about Python, and not a comprehensive reference....Read more
6 customers mention conciseness, 6 positive, 0 negative
Customers appreciate the book's conciseness, with one mentioning how it summarizes the language features.
The Python Pocket Reference is a concise and handy guide that serves as a comprehensive companion for Python programmers....Read more
This is very concise.Read more
A concise pocket book on the essential elements of the Python language. A must have for any serious student of Python.Read more
...This handbook summarizes features of the language, and points out significant differences between versions 2 and 3....Read more
12 customers mention clarity, 5 positive, 7 negative
Customers have mixed opinions about the clarity of the book, with some finding it detailed and concise, while others note that some topics lack extensive explanations and some terms are difficult to understand.
Absolute Garbage. Badly organized and missing basic stuff. Poorly indexed. Poor contents listing. Lack of any page headers whatsoever....Read more
It's awesome and it's really a pocket book, it's so small yet so detailed and well written. 5 stars for me.Read more
It is a god pocket reference. Not a tutorial but you can find those online.Read more
...This little book got it you want. Examples are easy and straight to the point, you won't regret it in getting this little book.Read more
6 customers mention content coverage, 2 positive, 4 negative
Customers have mixed opinions about the content coverage of the book, with some finding it comprehensive while others report missing information, particularly regarding standard Python packages.
Good pocket guide, it does not cover everything so you will still need to use good ole Google. But is a good guide worth having.Read more
This little paperback is FULL of just about whatever you'd need for fine-tuning your Python scripts. Compact, easily carried, and easy to read....Read more
...Unfortunately, this book is not what I needed. It is not complete enough for me to learn Python little by little....Read more
...from like page 70 to page 200 something for example, and all that content is missing. What a joke....Read more

Top reviews from the United Kingdom

  • 5 out of 5 stars
    good product
    Reviewed in the United Kingdom on 27 May 2026
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    good product

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thank you. We’ll investigate in the next few days.

    We’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.

  • 5 out of 5 stars
    Good pocket guide
    Reviewed in the United Kingdom on 23 July 2020
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Good 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thank you. We’ll investigate in the next few days.

    We’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.

  • 4 out of 5 stars
    Four Stars
    Reviewed in the United Kingdom on 17 January 2016
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Elegant sufficiency!

    One person found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thank you. We’ll investigate in the next few days.

    We’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.

  • 5 out of 5 stars
    Great pocket guide.
    Reviewed in the United Kingdom on 12 January 2019
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    A great pocket guide to debugging python code. Many reference points in here which is useful for quick searching for solutions.

    One person found this helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thank you. We’ll investigate in the next few days.

    We’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.

  • 5 out of 5 stars
    its worth avin
    Reviewed in the United Kingdom on 29 November 2020
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    all good thanks, good reface book.

    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thank you. We’ll investigate in the next few days.

    We’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.

  • 5 out of 5 stars
    Very good
    Reviewed in the United Kingdom on 16 October 2019
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thank you. We’ll investigate in the next few days.

    We’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.

  • 4 out of 5 stars
    Book Review: "Python Pocket Reference" by Mark Lutz
    Reviewed in the United Kingdom on 19 July 2015
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    The 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thank you. We’ll investigate in the next few days.

    We’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.

  • 1 out of 5 stars
    Total Garbage.
    Reviewed in the United Kingdom on 13 April 2015
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Absolute 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 helpful
    Sending feedback...
    Thank you for your feedback.
    Sending feedback...
    Thank you. We’ll investigate in the next few days.

    We’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.

Top reviews from other countries

    Translated by Amazon
    See original
  • 4 out of 5 stars
    Perfect reference book. no unnecessary speech
    Reviewed in the United Arab Emirates on 24 December 2020
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    I'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.

    We’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.

  • 5 out of 5 stars
    livre de poche
    Reviewed in France on 2 October 2015
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    un 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.

    We’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.

    Translated from French by Amazon
    See original
  • 4 out of 5 stars
    Nice book, but a bit costly
    Reviewed in India on 29 June 2016
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    A 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.

    We’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.

  • 5 out of 5 stars
    Handy reference that saves time
    Reviewed in Canada on 5 December 2018
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Great 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.

    We’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.

  • 4 out of 5 stars
    Molto utile
    Reviewed in Italy on 7 July 2018
    Brief content visible, double tap to read full content.
    Full content visible, double tap to read brief content.

    Il 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.

    We’ll check if this review meets our community guidelinesOpens in a new tab. If it does not, we will remove it.

    Translated from Italian by Amazon
    See original

Report an issue


Does this item contain inappropriate content?
Do you believe that this item violates a copyright?
Does this item contain quality or formatting issues?