(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... -->
|
[October 2007] I'm pleased to announce the release of the 3rd Edition of the book Learning Python. This new edition has been updated to cover Python 2.5, and includes numerous pointers for migrating to Python 3.0 in the future. Among other things, this edition has been augmented with material on function decorators, context managers, the new relative import syntax, generator expressions, and more. In addition, this edition has been enhanced to be even more of a self-paced learning resource, with new end-of-chapter quizzes, new introductory chapters on types and syntax, and new materials derived from recent Python training sessions. |