(normally) - in two flavors. Used only to prioritize high-traffic pages for dev work, iff JS and tracker enabled. The former/defunct training site's id: ga('create', 'UA-52578333-1', 'auto'). The book site's id, now used for all: ga('create', 'UA-52579036-1', 'auto'). JS is also used if enabled for thumbspage galleries, Top buttons, TOCs, etc. Jun-2019: tell Google Analytics to anonymize IP address on receipt for privacy. More: https://developers.google.com/analytics/devguides/collection/analyticsjs/. Oct-2022: install a GA4 tag (i.e., script) alongside the prior UA tag. UA tags will stop collecting data in 2023. It's okay to use both until the cutover (and Google advises doing so), but the UA tag will be pointless after that and should be removed. This handles genhtml-insert clients; others get tags by running insert-analytics.py in package-publishing scripts. Also per Google: "In Google Analytics 4, IP anonymization is not necessary since IP addresses are not logged or stored". Let's hope so... -->

About Python Pocket Reference, 4th Edition

[Click for larger book cover]

Update, January 2014: A newer 5th Edition of this book is available.

[September 2009] I'm pleased to announce the release of the 4th Edition of the book Python Pocket Reference.

This new edition has been thoroughly updated and expanded to cover both Python 3.1 and 2.6, and fully present features that appear in each of these two Python lines. As such, this edition is designed for people using Python 2.X, people using Python 3.X, and people who need to translate between the two.

As for its prior editions, this book is intended to serve as a quick-reference companion to other books like Learning Python. Its new edition's dual-version coverage also provides an ideal resource for programmers migrating to Python 3.X, now or in the future.

This book is available from bookstores and online outlets. O'Reilly's page listed below also offers it in a variety of searchable electronic forms—PDF, .epub, Kindle-compatible .mobi, and the Safari online catalog.

Resources

Related Books

This book is a reference-only supplement for other Python books, including the fundamentals tutorial text Learning Python, which was similarly updated for the latest versions of both Python 3.X and 2.X. Because it covers both Python 2.X and 3.X, this book also applies to both the prior and current editions of the applications-focused book Programming Python.



[Home page] Books Code Blog Python Author Train Find ©M.Lutz