Python Pocket Reference

Python Pocket Reference

  • Downloads:9414
  • Type:Epub+TxT+PDF+Mobi
  • Create Date:2021-09-11 08:53:02
  • Update Date:2025-09-06
  • Status:finish
  • Author:Mark Lutz
  • ISBN:1449357016
  • Environment:PC/Android/iPhone/iPad/Kindle

Summary

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

Download

Reviews

Xuankang Lin

Only covers up to Python 3。4, already outdated as of 03/2021。

John Pyrce

This is a good reference for Python。 The biggest drawback is that it isn't current with the latest version of Python。 It also has to deal with the challenge of the two major versions of Python that have a large number of differences that aren't easy to characterize。 This can lead to a fragmented presentation in some areas。 I would actually prefer if the latest 3。0 version were presented with perhaps a compendium of differences as an attachment rather than constantly trying to process two differe This is a good reference for Python。 The biggest drawback is that it isn't current with the latest version of Python。 It also has to deal with the challenge of the two major versions of Python that have a large number of differences that aren't easy to characterize。 This can lead to a fragmented presentation in some areas。 I would actually prefer if the latest 3。0 version were presented with perhaps a compendium of differences as an attachment rather than constantly trying to process two different approaches。 But I don't have to deal with Python 2。x and this is a reference。I was also a bit dismayed that some questions about overall program structure are addressed at the end of the book。 I'd like to see them up front since they are some of the first things you have to deal with。 。。。more

Steven Chew

This gem is going to stay in my bag for a long long time。

Frank

He can be hard to follow but he covers everything。

Ibrahim

A good handy python pocket reference for advanced programmers

Daniel Barker

Skimmed, okay book。

Fernando Conde-Pumpido

Good book for quick reference, specially if you are new to the language。 It's a good companion to keep on your desk, so you can code as usual and not worry about specifics of syntax, because all you might need is in this book。 Good book for quick reference, specially if you are new to the language。 It's a good companion to keep on your desk, so you can code as usual and not worry about specifics of syntax, because all you might need is in this book。 。。。more

WloHu

Just a reference book。 Most of the things, which are available in language documentation, are listed here or briefly described。 Some of those descriptions are great because cruft you don't care about (and it's often present in official docs) isn't there and meaningful things are even more packed。If you don't have Internet access, documentation in you PC or you rather look up books for reference then this is "must buy" for you。 It may be also helpful for those who know programming in general and Just a reference book。 Most of the things, which are available in language documentation, are listed here or briefly described。 Some of those descriptions are great because cruft you don't care about (and it's often present in official docs) isn't there and meaningful things are even more packed。If you don't have Internet access, documentation in you PC or you rather look up books for reference then this is "must buy" for you。 It may be also helpful for those who know programming in general and want to read fast about Python' features。Also font is quite big。 。。。more

David Liu

Informative and well structuredThis book is really good for general reference and best practices of Python programming。 Highly recommend for new and experienced Pythonists!

Mikhail GEYER

Good book for a quick learn-refreshing。

John Calvin Hall

Handy little pocket reference book。 Good to keep around when chewing on Python programming。

knoba

。。ContentsIntroductionBook Conventions1。 Python Command-Line Usage2。 Python Environment Variables3。 Python Windows Launcher Usage4。 Built-In Types And Operators5。 Specific Built-In Types6。 Statements And Syntax7。 Specific Statements8。 Namespace And Scope Rules9。 Object-Oriented Programming10。 Operator Overloading Methods11。 Built-In Functions12。 Built-In Exceptions13。 Built-In Attributes14。 Standard Library Modules15。 Python Sql Database Api16。 More Hints And IdiomsIndex

Phil Moyer

A good handy companion to Lutz's Learning Python。 This gives you a quick way to look up syntax or language constructs you don't quite remember! A good handy companion to Lutz's Learning Python。 This gives you a quick way to look up syntax or language constructs you don't quite remember! 。。。more

Bernard

If you have some programming knowledge, then this is like all of the Python documentation stripped down to the most essential parts and shrunken down into great pocket-sized book。 It has information for both Python 2。x and Python 3。x and is well worth the price。

Victor

good reference book for quick and easy doubts, however if you want to get a more detailed description of the language go for the complete book from O'Reilly good reference book for quick and easy doubts, however if you want to get a more detailed description of the language go for the complete book from O'Reilly 。。。more

Barry

Useful when doing quick Python searches - I program offline sometimes, and this comes in handy。

Sergey Kochergan

hard to follow the logic of this book。 would not recommend it to those, who learn python language。 Don't waste your time。 hard to follow the logic of this book。 would not recommend it to those, who learn python language。 Don't waste your time。 。。。more

Supakorn Suttiruang

I tried pretty hard to get this bad boy。A must-own for Python programmers。

Kory

This has already become a great reference to use for me, easier to use this than Python's documentaion, which is a pain to use when trying to find even simple things because it is terribly organized or at least to me it is。 This has already become a great reference to use for me, easier to use this than Python's documentaion, which is a pain to use when trying to find even simple things because it is terribly organized or at least to me it is。 。。。more

Todd

A must have for any python programmer。

Kim

I'm a pretty concrete thinker and tend to take things literally。 While this is a good reference for confirming syntax, etc。, the language used in some of the explanations has an abstractness to it that I found difficult。 Where the information itself could have been formated to demonstrate or reiterate the explanation, it often isn't。'''This is a multiline block'''。。。 is written on a single line。 I reread it more than once because I thought maybe I was misinterpreting。 I would've immediately been I'm a pretty concrete thinker and tend to take things literally。 While this is a good reference for confirming syntax, etc。, the language used in some of the explanations has an abstractness to it that I found difficult。 Where the information itself could have been formated to demonstrate or reiterate the explanation, it often isn't。'''This is a multiline block'''。。。 is written on a single line。 I reread it more than once because I thought maybe I was misinterpreting。 I would've immediately been confident that I understood if it had instead been:'''This is amultilineblock'''Table 1 has descending order for ascending precedence of operators, and it would've been lovely if it had been arranged to be ascending-ascending or descending-descending instead, reducing the need for the confusing explanation about "lower cells of this table have higher precedence"。 。。。more

Russel

This book has been war-torn by me over the last couple of years as Python is my favourite scripting language which I use on a pretty well daily basis。 I love going through this book over and over again learning more and more oddities and pecularities of the language, striving to always be more and more pythonic。

Kent

I like this book, find it handy -- but why, oh why, would you make a book called a reference and not make it ridiculously easy to find stuff? The page layout is awful and the headings are incredibly weak。

Zachary

Python is a very easy language to learn, but has several constructs and functions that don't seem too well-thought-out。 Python is a very easy language to learn, but has several constructs and functions that don't seem too well-thought-out。 。。。more

Spencer

The back cover text is the best of this book。 Useful, not great。