Free Downloads
Python Pocket Reference (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 moreStatements and syntax for creating and processing objectsFunctions and modules for structuring and reusing codePython’s object-oriented programming toolsBuilt-in functions, exceptions, and attributesSpecial operator overloading methodsWidely used standard library modules and extensionsCommand-line options and development toolsPython idioms and hintsThe Python SQL Database API

Series: Pocket Reference (O'Reilly)

Paperback: 266 pages

Publisher: O'Reilly Media; 5 edition (February 9, 2014)

Language: English

ISBN-10: 1449357016

ISBN-13: 978-1449357016

Product Dimensions: 0.5 x 4.2 x 7 inches

Shipping Weight: 5.6 ounces (View shipping rates and policies)

Average Customer Review: 4.4 out of 5 stars  See all reviews (81 customer reviews)

Best Sellers Rank: #5,644 in Books (See Top 100 in Books) #4 in Books > Computers & Technology > Programming > Software Design, Testing & Engineering > Object-Oriented Design #4 in Books > Textbooks > Computer Science > Object-Oriented Software Design #9 in Books > Computers & Technology > Programming > Languages & Tools > Python

I refer to this frequently as I am learning Python and it usually gives me the answer but sometimes it takes quite a bit of searching and flipping back and forth. So I think the index and/or organization could be a little better. Some examples:* If you are trying to look up a concept but you don't know Python's word for it, alternate words likely won't get you there.* Suppose you want to copy an object, or assign the contents of one object to another, and you're trying to find the Python way to do that. The index does not have entries for "copy" or "contents". It does have an entry for "assignment statement" but that will just assign an object's reference to another variable so now you have two variables pointing to the same object. What you're looking for is under "slicing" but how would you find that unless you already knew it?A few more details / examples wouldn't hurt either although I understand they are trying to keep a "pocket" reference small.

As someone who teaches beginning Pythonistas to learn to program, this updated edition of the Python Pocket Reference is worth keeping close at hand.The reference covers both Python 3.4 and 2.7, and it highlights changes between the two major releases in a succinct, clear way. Yes, one can find the reference information in the freely available Python docs, but this guide earns its place in my backpack by pulling together practical tips, hints, and common gotchas when using a method or function.I appreciate the author including a section on the tkinter GUI module and tools. It’s helpful to have the basics in a concise format for the times that I am troubleshooting a user interface for a laboratory program or helping someone create a simple status display for an application.Though it might not be the most exciting read, the Python Pocket Reference does what it does well – a straightforward, up-to-date resource for Python 3.4 and 2.7. Its hints and common idioms may also save a programmer valuable time debugging common mistakes.

This book has become a permanent resident in my backpack. I often find myself writing quick python scripts on the go for work. This book has proved immensely valuable when I'm working on a script and don't have network access (if I have internet it's generally faster to google it :). 5/5 would recommend.

I recommend this book because it has high information density, it is relatively up-to-date, the sections are well-organized, it is inexpensive, it is physically compact, and does a good job as both a quick review and quick reference.

I have the first edition that I bought many years ago and was quite thin. I bought the third edition several years ago and now I have bought this fifth edition. You might think I find these useful, right? This edition covers both Python2 and Python3.It's a good reference. They're going to start having to come out with two different versions pretty soon because this one is getting close to the limit of a good reference book size wise.

I like this book because it provides a very succinct explanation of the features in the newest version of Python (ver 3.4 in 2014). It provides several short examples to illustrate many of its points and even offers some editorial remarks concerning various feature of the language.It is a concise reference work and not intended as a book that a reader would normally use to learn Python.

I'm learning Python but I already program in a few languages, so I wasn't sure I needed the big "Intro to this Language in great Detail!" book. I ordered this one instead and it's become my constant companion on my Python journey. It's exactly what I wanted when I need to look up the syntax or function I know exists but don't know exactly how to format in this new language. I'm learning python to play with the Raspberry Pi, not for any professional reasons, so YMMV.I can't rave about this pocket reference enough. It's the greatest. I've been through quite a few, even other O'Reilly pocket references, and while they've all been helpful to some extent, I was never able to teach myself an entire language from a pocket reference. I don't think that's a thing that would work if you've never programmed before, but if you're already a programmer and you've just decided to add Python to your repertoire, skip the big book and stick this one in your desk drawer instead. Between it and google you'll be fine.

In this book you have a fine summary of Python, with coverage of both 2.x and 3.x, to the extent that such a thing is possible in such a relatively small space. I don't know where you will find a better Python "vade mecum".

Python: PYTHON CRASH COURSE - Beginner's Course To Learn The Basics Of Python Programming In 24 Hours!: (Python, Python Programming, Python for Dummies, Python for Beginners, python crash course) Python: Learn Python In A DAY! - The Ultimate Crash Course to Learning the Basics of Python In No Time (Python, Python Course, Python Development, Python Books, Python for Beginners) PYTHON: Python in 8 Hours, For Beginners, Learn Python Fast! A Smart Way to Learn Python, Plain & Simple, Learn Python Programming Language in Easy Steps, A Beginner's Guide, Start Coding Today! Python: Learn Web Scraping with Python In A DAY! - The Ultimate Crash Course to Learning the Basics of Web Scraping with Python In No Time (Web Scraping ... Python Books, Python for Beginners) Python: Learn Python FAST - The Ultimate Crash Course to Learning the Basics of the Python Programming Language In No Time (Python, Python Programming, ... (Learn Coding Fast with Hands-On Project 7) Python Pocket Reference (Pocket Reference (O'Reilly)) Regular Expression Pocket Reference: Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET (Pocket Reference (O'Reilly)) Programming #45: Python Programming Professional Made Easy & Android Programming In a Day! (Python Programming, Python Language, Python for beginners, ... Programming Languages, Android Programming) MySQL Pocket Reference: SQL Statements, Functions and Utilities and more (Pocket Reference (O'Reilly)) GDB Pocket Reference (Pocket Reference (O'Reilly)) LINQ Pocket Reference (Pocket Reference (O'Reilly)) Linux iptables Pocket Reference (Pocket Reference (O'Reilly)) XML Pocket Reference (Pocket Reference (O'Reilly)) Python: Learn Python in One Day and Learn It Well. Python for Beginners with Hands-on Project. (Learn Coding Fast with Hands-On Project Book 1) Programming Raspberry Pi 3: Getting Started With Python (Programming Raspberry Pi 3, Raspberry Pi 3 User Guide, Python Programming, Raspberry Pi 3 with Python Programming) BILL O'REILLY - SERIES READING ORDER (SERIES LIST) - IN ORDER: KILLING JESUS, KILLING PATTON, KILLING LINCOLN, KILLING KENNEDY, KILLING REAGAN, HITLER'S LAST DAYS, THE O'REILLY FACTOR & MANY MORE! Haunted Tales - A Mary O'Reilly Paranormal Mystery - Book Fifteen (Mary O'Reilly Series 15) Deadly Circumstances - A Mary O'Reilly Paranormal Mystery (Book 16) (Mary O'Reilly Paranormal Mysteries) Frayed Edges - A Mary O'Reilly Paranormal Mystery (Book Seventeen) (Mary O'Reilly Paranormal Mysteries Series 17) Big Data, MapReduce, Hadoop, and Spark with Python: Master Big Data Analytics and Data Wrangling with MapReduce Fundamentals using Hadoop, Spark, and Python