USD 12.11
You will be charged GBP 8.99

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 for others

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 (992)

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 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
There are 34 books in this series.
  • Kindle Price:
    USD 63.65
    -
    You will be charged £47.26
    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: 882,862 in Kindle Store (See Top 100 in Kindle Store)
  • Customer reviews:
    4.5 out of 5 stars (992)

About the authors

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

Customer reviews

4.5 out of 5 stars
992 global ratings

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

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.
  • 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.
    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.
  • 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.
  • 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.
    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?