• Complain

Alex Martelli Anna Ravenscroft - Python in a Nutshell

Here you can read online Alex Martelli Anna Ravenscroft - Python in a Nutshell full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2017, publisher: OReilly Media, Inc., genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Alex Martelli Anna Ravenscroft Python in a Nutshell

Python in a Nutshell: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Python in a Nutshell" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Useful in many roles, from design and prototyping to testing, deployment, and maintenance, Python is consistently ranked among todays 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.6commonly used areas of its vast standard library, and some of the most useful third-party modules and packages.

Alex Martelli Anna Ravenscroft: author's other books


Who wrote Python in a Nutshell? Find out the surname, the name of the author of the book and a list of all author's works by series.

Python in a Nutshell — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Python in a Nutshell" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Python in a Nutshell

by Alex Martelli , Anna Ravenscroft , and Steve Holden

Copyright 2017 Alex Martelli, Anna Martelli Ravenscroft, and Steve Holden. All rights reserved.

Printed in the United States of America.

Published by OReilly Media, Inc. , 1005 Gravenstein Highway North, Sebastopol, CA 95472.

OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://oreilly.com/safari). For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com .

  • Editor: Dawn Schanafelt
  • Production Editor: Kristen Brown
  • Copyeditor: Kim Cofer
  • Proofreader: Rachel Monaghan
  • Indexer: Judith McConville
  • Interior Designer: David Futato
  • Cover Designer: Karen Montgomery
  • Illustrator: Rebecca Demarest
  • April 2017: Third Edition
Revision History for the Third Edition
  • 2017-04-06: First Release

See http://oreilly.com/catalog/errata.csp?isbn=9781449392925 for release details.

The OReilly logo is a registered trademark of OReilly Media, Inc. Python in a Nutshell, the cover image, and related trade dress are trademarks of OReilly Media, Inc.

While the publisher and the authors have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.

978-1-449-39292-5

[LSI]

Preface

The Python programming language reconciles many apparent contradictions: both elegant and pragmatic, both simple and powerful, its very high-level yet doesnt get in your way when you need to fiddle with bits and bytes, and its suitable for programming novices as well as great for experts, too.

This book is aimed at programmers with some previous exposure to Python, as well as experienced programmers coming to Python for the first time from other languages. The book is a quick reference to Python itself, the most commonly used parts of its vast standard library, and a few of the most popular and useful third-party modules and packages, covering a wide range of application areas, including web and network programming, XML handling, database interactions, and high-speed numeric computing. The book focuses on Pythons cross-platform capabilities and covers the basics of extending Python and embedding it in other applications.

How This Book Is Organized

This book has five parts, as follows.

Part I, Getting Started with Python

Covers the general characteristics of the Python language, its implementations, where to get help and information, how to participate in the Python community, and how to obtain and install Python on your computer(s).

Covers the Python interpreter program, its command-line options, and how to use it to run Python programs and in interactive sessions. The chapter mentions text editors for editing Python programs and auxiliary programs for checking your Python sources, along with some full-fledged integrated development environments, including IDLE, which comes free with standard Python. The chapter also covers running Python programs from the command line.

Part II, Core Python Language and Built-ins

Covers Python syntax, built-in data types, expressions, statements, control flow, and how to write and call functions.

Covers object-oriented programming in Python.

Covers how to use exceptions for errors and special situations, and logging.

Covers how Python lets you group code into modules and packages, how to define and import modules, and how to install third-party Python packages. The chapter also covers working with virtual environments to isolate project dependencies.

Covers built-in data types and functions, and some of the most fundamental modules in the standard Python library (roughly, the set of modules supplying functionality that, in some other languages, is built into the language itself).

Covers Pythons string-processing facilities, including Unicode strings, byte strings, and string literals.

Covers Pythons support for regular expressions.

Part III, Python Library and Extension Modules

Covers how to deal with files and text processing using many modules from Pythons standard library and platform-specific extensions for rich text I/O. The chapter also covers issues of internationalization and localization, and the specific task of defining interactive text-mode command sessions with Python.

Covers Pythons serialization and persistence mechanisms, as well as Pythons interfaces to DBM databases and relational (SQL-based) databases, particularly the handy SQLite that comes with Pythons standard library.

Covers how to deal with times and dates in Python, using the standard library and popular third-party extensions.

Helps you to achieve advanced execution control in Python, including execution of dynamically generated code and control of garbage collection. The chapter also covers some Python internal types, and the specific issue of registering clean-up functions to execute at program-termination time.

Covers Pythons functionality for concurrent execution, both via multiple threads running within one process and via multiple processes running on a single machine. The chapter also covers how to access the processs environment, and how to access files via memory-mapping mechanisms.

Shows Pythons features for numeric computations, both in standard library modules and in third-party extension packages; in particular, the chapter covers how to use decimal numbers or fractions, instead of the default binary floating-point numbers. The chapter also covers how to get and use pseudorandom and truly random numbers, and how to speedily process whole arrays (and matrices) of numbers.

Deals with Python tools and approaches that help ensure your programs are correct (i.e., that your programs do what theyre meant to do), find and fix errors in your programs, and check and enhance your programs performance. The chapter also covers the concept of warning and the Python library module that deals with it.

Part IV, Network and Web Programming

Covers the basics of networking with Python.

Covers alternatives for asynchronous (event-driven) programming, particularly modern coroutine-based architectures and lower-level multiplexing, with standard library modules.

Covers modules in Pythons standard library to write network client programs, particularly for dealing with various network protocols from the client side, sending and receiving emails, and handling URLs.

Covers how to serve HTTP for web applications in Python, using popular third-party lightweight Python frameworks leveraging Pythons WSGI standard interface to web servers.

Covers how to process email messages, and other network-structured and encoded documents, in Python.

Covers popular third-party Python extension modules to process, modify, and generate HTML documents.

Covers Python library modules and popular extensions to process, modify, and generate XML documents.

Part V, Extending, Distributing, v2/v3 Migration
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Python in a Nutshell»

Look at similar books to Python in a Nutshell. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Python in a Nutshell»

Discussion, reviews of the book Python in a Nutshell and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.