Librería Portfolio Librería Portfolio

Búsqueda avanzada

TIENE EN SU CESTA DE LA COMPRA

0 productos

en total 0,00 €

PYTHON IN A NUTSHELL 3E
Título:
PYTHON IN A NUTSHELL 3E
Subtítulo:
Autor:
MARTELLI, A
Editorial:
O´REILLY
Año de edición:
2017
Materia
UNIX
ISBN:
978-1-4493-9292-5
Páginas:
772
67,95 €

 

Sinopsis

Useful in many roles, from design and prototyping to testing, deployment, and maintenance, Python is consistently ranked among today's most popular programming languages. The third edition of this practical book provides a quick reference to the language-including Python 3.5, 2.7, and highlights of 3.6-commonly used areas of its vast standard library, and some of the most useful third-party modules and packages.

Ideal for programmers with some Python experience, and those coming to Python from other programming languages, this book covers a wide range of application areas, including web and network programming, XML handling, database interactions, and high-speed numeric computing. Discover how Python provides a unique mix of elegance, simplicity, practicality, and sheer power.

This edition covers:

Python syntax, Object-Oriented Python, standard library modules, and third-party Python packages
Python's support for file and text operations, persistence and databases, concurrent execution, and numeric computations
Networking basics, event-driven programming, and client-side network protocol modules
Python extension modules, and tools for packaging and distributing extensions, modules, and applications



Getting Started with Python
Chapter 1Introduction to Python
The Python Language
The Python Standard Library and Extension Modules
Python Implementations
Python Development and Versions
Python Resources
Installation
Installing Python from Binaries
Installing Python from Source Code
Installing Jython
Installing IronPython
Installing PyPy
Chapter 2The Python Interpreter
The python Program
Python Development Environments
Running Python Programs
The jython Interpreter
The IronPython Interpreter
The PyPy Interpreter
Core Python Language and Built-ins
Chapter 3The Python Language
Lexical Structure
Data Types
Variables and Other References
Expressions and Operators
Numeric Operations
Sequence Operations
Set Operations
Dictionary Operations
Control Flow Statements
Functions
Chapter 4Object-Oriented Python
Classes and Instances
Special Methods
Decorators
Metaclasses
Chapter 5Exceptions
The try Statement
The with Statement and Context Managers
Exception Propagation
The raise Statement
Exception Objects
Custom Exception Classes
Error-Checking Strategies
The assert Statement
Chapter 6Modules
Module Objects
Module Loading
Packages
Distribution Utilities (distutils) and setuptools
Python Environments
Chapter 7Core Built-ins and Standard Library Modules
Built-in Types
Built-in Functions
The sys Module
The copy Module
The collections Module
The functools Module
The heapq Module
The argparse Module
The itertools Module
Chapter 8Strings and Things
Methods of String and Bytes Objects
The string Module
String Formatting
Text Wrapping and Filling
The pprint Module
The reprlib Module
Unicode
Chapter 9Regular Expressions
Regular Expressions and the re Module
Python Library and Extension Modules
Chapter 10File and Text Operations
Other Chapters That Also Deal with Files
Organization of This Chapter
The io Module
Auxiliary Modules for File I/O
In-Memory "Filesö: io.StringIO and io.BytesIO
Compressed Files
The os Module
Filesystem Operations
Text Input and Output
Richer-Text I/O
Interactive Command Sessions
Internationalization
Chapter 11Persistence and Databases
Serialization
DBM Modules
Berkeley DB Interfacing
The Python Database API (DBAPI) 2.0
Chapter 12Time Operations
The time Module
The datetime Module
The pytz Module
The dateutil Module
The sched Module
The calendar Module
Chapter 13Controlling Execution
Site and User Customization
Termination Functions
Dynamic Execution and exec
Internal Types
Garbage Collection
Chapter 14Threads and Processes
Threads in Python
The threading Module
The queue Module
The multiprocessing Module
The concurrent.futures Module
Threaded Program Architecture
Process Environment
Running Other Programs
The mmap Module
Chapter 15Numeric Processing
The math and cmath Modules
The operator Module
Random and Pseudorandom Numbers
The fractions Module
The decimal Module
The gmpy2 Module
Array Processing
The array Module
Extensions for Numeric Array Computation
Chapter 16Testing, Debugging, and Optimizing
Testing
Debugging
The warnings Module
Optimization
Network and Web Programming
Chapter 17Networking Basics
Networking Principles
The Berkeley Socket Interface
Transport Layer Security (TLS, AKA SSL)
Chapter 18Asynchronous Alternatives
Coroutine-Based Async Architectures
The asyncio Module (v3 Only)
The selectors Module
Chapter 19Client-Side Network Protocol Modules
Email Protocols
HTTP and URL Clients
Other Network Protocols
Chapter 20Serving HTTP
WSGI
Python Web Frameworks
Chapter 21Email, MIME, and Other Network Encodings
MIME and Email Format Handling
Encoding Binary Data as ASCII Text
Chapter 22Structured Text: HTML
The html.entities (v2: htmlentitydefs) Module
Generating HTML
Chapter 23Structured Text: XML
ElementTree
Extending, Distributing, v2/v3 Migration
Chapter 24Extending and Embedding Classic Python
Extending Python with Python's C API
Extending Python Without Python's C API
Cython
Embedding Python
Chapter 25Distributing Extensions and Programs
setuptools
Distributing Your Package
Chapter 26v2/v3 Migration and Coexistence
Preparing for Python 3
Minimizing Syntax Differences
Choosing Your Support Strategy