The Good, the Bad, and the Hungry Sale
 
 

Recently Viewed clear list


Original Essays | June 20, 2014

Lauren Owen: IMG The Other Vampire



It's a wild and thundery night. Inside a ramshackle old manor house, a beautiful young girl lies asleep in bed. At the window, a figure watches... Continue »

spacer

Python in a Nutshell (In a Nutshell)

Python in a Nutshell (In a Nutshell) Cover

 

Synopses & Reviews

Publisher Comments:

Ask any Python aficionado and you'll hear that Python programmers have it all: an elegant language that offers object-oriented programming support, a readable, maintainable syntax, integration with C components, and an enormous collection of precoded standard library and extension modules. Moreover, Python is easy to learn but powerful enough to take on the most ambitious programming challenges. But what Python programmers have lacked is one concise and clear reference resource, with the appropriate measure of guidance in how best to use Python's great power.

Now Python in a Nutshell fills this need. In the tradition of O'Reilly's In a Nutshell series, this book offers Python programmers one place to look when they need help remembering or deciphering the syntax of this open source language and its many modules. This comprehensive reference guide makes it easy to look up all the most frequently needed information — not just about the Python language itself, but also the most frequently used parts of the standard library and the most important third-party extensions.

Python in a Nutshell provides a solid, no-nonsense quick reference to information that programmers rely on the most. This latest addition to the best-selling In a Nutshell series will immediately earn its place in any Python programmer's library.

Book News Annotation:

Intended for experienced programmers, this reference documents the primary components of the Python standard library and some of the most useful third party modules for client and server side network programming, numerical array processing, manipulation of text and binary files, and interaction with the operating system. The author also highlights Python's cross-platform capabilities, showing how to code extension modules in C and Java.
Annotation 2004 Book News, Inc., Portland, OR (booknews.com)

Synopsis:

This new title offers Python programmers one place to look when they need help remembering or deciphering the most important tools and modules of this open source language.

Synopsis:

In the tradition of O'Reilly's "In a Nutshell" series, this book offers Python programmers help remembering or deciphering the syntax of this open source language and its many modules. It should make it easy to look up all the most frequently needed information.

Synopsis:

Ask any Python aficionado and you'll hear that Python programmers have it all: an elegant language that offers object-oriented programming support, a readable, maintainable syntax, integration with C components, and an enormous collection of precoded standard library and extension modules. Moreover, Python is easy to learn but powerful enough to take on the most ambitious programming challenges. But what Python programmers have lacked is one concise and clear reference resource, with the appropriate measure of guidance in how best to use Python's great power. Now Python in a Nutshell fills this need.

In the tradition of O'Reilly's "In a Nutshell" series, this book offers Python programmers one place to look when they need help remembering or deciphering the syntax of this open source language and its many modules. This comprehensive reference guide makes it easy to look up all the most frequently needed information--not just about the Python language itself, but also the most frequently used parts of the standard library and the most important third-party extensions.

Python in a Nutshell focuses on Python 2.2 (and all its point releases), currently the most stable and widespread Python release. This book includes:

  • A fast-paced tutorial on the syntax of the Python language itself
  • An explanation of object-oriented programming in Python, covering both the classic and new-style object models
  • Coverage of other core topics, including exceptions, modules, strings, and regular expressions
  • A quick reference for Python's built-in types and functions, as well as the key modules in the Python standard library, including sys, os, time, thread, math, and socket, among many others
  • Reference material on important third-party extensions, such as Numeric and Tkinter
  • Information about extending Python and embedding it into other applications
Python in a Nutshell provides a solid, no-nonsense quick reference to information that programmers rely on the most. This latest addition to the best-selling "In a Nutshell" series will immediately earn its place in any Python programmer's library.

Synopsis:

Includes bibliographical references (p. 10-11) index.

About the Author

Alex Martelli spent 8 years with IBM Research, winning three Outstanding Technical Achievement Awards. He then spent 13 as a Senior Software Consultant at think3 inc, developing libraries, network protocols, GUI engines, event frameworks, and web access frontends. He has also taught programming languages, development methods, and numerical computing at Ferrara University and other venues. He's a C++ MVP for Brainbench, and a member of the Python Software Foundation. He currently works for AB Strakt, a Python-centered software house in G teborg, Sweden, mostly by telecommuting from his home in Bologna, Italy. Alex's proudest achievement is the articles that appeared in Bridge World (January/February 2000), which were hailed as giant steps towards solving issues that had haunted contract bridge theoreticians for decades.

Table of Contents

Preface; How This Book Is Organized; Conventions Used in This Book; How to Contact Us; Acknowledgments; Getting Started with Python; Chapter 1: Introduction to Python; 1.1 The Python Language; 1.2 The Python Standard Library and Extension Modules; 1.3 Python Implementations; 1.4 Python Development and Versions; 1.5 Python Resources; Chapter 2: Installation; 2.1 Installing Python from Source Code; 2.2 Installing Python from Binaries; 2.3 Installing Jython; Chapter 3: The Python Interpreter; 3.1 The python Program; 3.2 Python Development Environments; 3.3 Running Python Programs; 3.4 The Jython Interpreter; Core Python Language and Built-ins; Chapter 4: The Python Language; 4.1 Lexical Structure; 4.2 Data Types; 4.3 Variables and Other References; 4.4 Expressions and Operators; 4.5 Numeric Operations; 4.6 Sequence Operations; 4.7 Dictionary Operations; 4.8 The print Statement; 4.9 Control Flow Statements; 4.10 Functions; Chapter 5: Object-Oriented Python; 5.1 Classic Classes and Instances; 5.2 New-Style Classes and Instances; 5.3 Special Methods; 5.4 Metaclasses; Chapter 6: Exceptions; 6.1 The try Statement; 6.2 Exception Propagation; 6.3 The raise Statement; 6.4 Exception Objects; 6.5 Custom Exception Classes; 6.6 Error-Checking Strategies; Chapter 7: Modules; 7.1 Module Objects; 7.2 Module Loading; 7.3 Packages; 7.4 The Distribution Utilities (distutils); Chapter 8: Core Built-ins; 8.1 Built-in Types; 8.2 Built-in Functions; 8.3 The sys Module; 8.4 The getopt Module; 8.5 The copy Module; 8.6 The bisect Module; 8.7 The UserList, UserDict, and UserString Modules; Chapter 9: Strings and Regular Expressions; 9.1 Methods of String Objects; 9.2 The string Module; 9.3 String Formatting; 9.4 The pprint Module; 9.5 The repr Module; 9.6 Unicode; 9.7 Regular Expressions and the re Module; Python Library and Extension Modules; Chapter 10: File and Text Operations; 10.1 The os Module; 10.2 Filesystem Operations; 10.3 File Objects; 10.4 Auxiliary Modules for File I/O; 10.5 The StringIO and cStringIO Modules; 10.6 Compressed Files; 10.7 Text Input and Output; 10.8 Richer-Text I/O; 10.9 Interactive Command Sessions; 10.10 Internationalization; Chapter 11: Persistence and Databases; 11.1 Serialization; 11.2 DBM Modules; 11.3 The Berkeley DB Module; 11.4 The Python Database API (DBAPI) 2.0; Chapter 12: Time Operations; 12.1 The time Module; 12.2 The sched Module; 12.3 The calendar Module; 12.4 The mx.DateTime Module; Chapter 13: Controlling Execution; 13.1 Dynamic Execution and the exec Statement; 13.2 Restricted Execution; 13.3 Internal Types; 13.4 Garbage Collection; 13.5 Termination Functions; 13.6 Site and User Customization; Chapter 14: Threads and Processes; 14.1 Threads in Python; 14.2 The thread Module; 14.3 The Queue Module; 14.4 The threading Module; 14.5 Threaded Program Architecture; 14.6 Process Environment; 14.7 Running Other Programs; 14.8 The mmap Module; Chapter 15: Numeric Processing; 15.1 The math and cmath Modules; 15.2 The operator Module; 15.3 The random Module; 15.4 The array Module; 15.5 The Numeric Package; 15.6 Array Objects; 15.7 Universal Functions (ufuncs); 15.8 Optional Numeric Modules; Chapter 16: Tkinter GUIs; 16.1 Tkinter Fundamentals; 16.2 Widget Fundamentals; 16.3 Commonly Used Simple Widgets; 16.4 Container Widgets; 16.5 Menus; 16.6 The Text Widget; 16.7 The Canvas Widget; 16.8 Geometry Management; 16.9 Tkinter Events; Chapter 17: Testing, Debugging, and Optimizing; 17.1 Testing; 17.2 Debugging; 17.3 The warnings Module; 17.4 Optimization; Network and Web Programming; Chapter 18: Client-Side Network Protocol Modules; 18.1 URL Access; 18.2 Email Protocols; 18.3 The HTTP and FTP Protocols; 18.4 Network News; 18.5 Telnet; 18.6 Distributed Computing; Chapter 19: Sockets and Server-Side Network Protocol Modules; 19.1 The socket Module; 19.2 The SocketServer Module; 19.3 Event-Driven Socket Programs; Chapter 20: CGI Scripting and Alternatives; 20.1 CGI in Python; 20.2 Cookies; 20.3 Other Server-Side Approaches; Chapter 21: MIME and Network Encodings; 21.1 Encoding Binary Data as Text; 21.2 MIME and Email Format Handling; Chapter 22: Structured Text: HTML; 22.1 The sgmllib Module; 22.2 The htmllib Module; 22.3 The HTMLParser Module; 22.4 Generating HTML; Chapter 23: Structured Text: XML; 23.1 An Overview of XML Parsing; 23.2 Parsing XML with SAX; 23.3 Parsing XML with DOM; 23.4 Changing and Generating XML; Extending and Embedding; Chapter 24: Extendinnnnnng and Embedding Classic Python; 24.1 Extending Python with Pythons C API; 24.2 Extending Python Without Pythons C API; 24.3 Embedding Python; Chapter 25: Extending and Embedding Jython; 25.1 Importing Java Packages in Jython; 25.2 Embedding Jython in Java; 25.3 Compiling Python into Java; Chapter 26: Distributing Extensions and Programs; 26.1 Pythons distutils; 26.2 The py2exe Tool; 26.3 The Installer Tool; Colophon;

Product Details

ISBN:
9780596001889
Author:
Martelli, Alex
Publisher:
O'Reilly Media
Location:
Beijing
Subject:
Programming Languages - General
Subject:
Programming - General
Subject:
Python (Computer program language)
Subject:
Python
Subject:
Programming Languages - Python
Subject:
Python;programming;scripting
Edition Number:
1st ed.
Edition Description:
Trade Paper
Series:
In a Nutshell (O'Reilly)
Series Volume:
5
Publication Date:
20030310
Binding:
Paperback
Language:
English
Illustrations:
Yes
Pages:
656
Dimensions:
9 x 6 x 1.14 in 1.64 lb

Related Subjects

Computers and Internet » Computer Languages » Python
Computers and Internet » Software Engineering » Programming and Languages

Python in a Nutshell (In a Nutshell)
0 stars - 0 reviews
$ In Stock
Product details 656 pages O'Reilly & Associates - English 9780596001889 Reviews:
"Synopsis" by ,
This new title offers Python programmers one place to look when they need help remembering or deciphering the most important tools and modules of this open source language.
"Synopsis" by , In the tradition of O'Reilly's "In a Nutshell" series, this book offers Python programmers help remembering or deciphering the syntax of this open source language and its many modules. It should make it easy to look up all the most frequently needed information.
"Synopsis" by ,

Ask any Python aficionado and you'll hear that Python programmers have it all: an elegant language that offers object-oriented programming support, a readable, maintainable syntax, integration with C components, and an enormous collection of precoded standard library and extension modules. Moreover, Python is easy to learn but powerful enough to take on the most ambitious programming challenges. But what Python programmers have lacked is one concise and clear reference resource, with the appropriate measure of guidance in how best to use Python's great power. Now Python in a Nutshell fills this need.

In the tradition of O'Reilly's "In a Nutshell" series, this book offers Python programmers one place to look when they need help remembering or deciphering the syntax of this open source language and its many modules. This comprehensive reference guide makes it easy to look up all the most frequently needed information--not just about the Python language itself, but also the most frequently used parts of the standard library and the most important third-party extensions.

Python in a Nutshell focuses on Python 2.2 (and all its point releases), currently the most stable and widespread Python release. This book includes:

  • A fast-paced tutorial on the syntax of the Python language itself
  • An explanation of object-oriented programming in Python, covering both the classic and new-style object models
  • Coverage of other core topics, including exceptions, modules, strings, and regular expressions
  • A quick reference for Python's built-in types and functions, as well as the key modules in the Python standard library, including sys, os, time, thread, math, and socket, among many others
  • Reference material on important third-party extensions, such as Numeric and Tkinter
  • Information about extending Python and embedding it into other applications
Python in a Nutshell provides a solid, no-nonsense quick reference to information that programmers rely on the most. This latest addition to the best-selling "In a Nutshell" series will immediately earn its place in any Python programmer's library.

"Synopsis" by , Includes bibliographical references (p. 10-11) index.
spacer
spacer
  • back to top
Follow us on...




Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.