May 2021
Intermediate to advanced
142 pages
3h 37m
English
In this chapter you’ve learned about some common traps to avoid in Python. In particular, you are primed to favor json (and other alternative libraries) over pickle, to always use timezone aware datetime objects in UTC, and to carefully avoid using mutable values like lists as defaults in your function signatures.
Next, we’ll explore how to shepherd your Python projects into green fields even as you face external challenges and unexpected problems. Among other topics, you’ll learn how to securely install third-party packages and keep your variables from being unexpectedly clobbered or shadowed.