May 2021
Intermediate to advanced
142 pages
3h 37m
English
In this chapter we have discussed different strategies for hardening your code. In particular, you have learned how to install third-party pip packages securely, how to privatize variables in Python, how to keep a directory of tests/ organized, and the dangers of wildcard imports. You can use these lessons to improve your code base’s organization and help avoid dangerous classes of unexpected bugs.
No island will ever be built rigorously enough to contain all its dinosaurs, but you can always improve your system just a little bit more to make it resilient to life’s efforts to free itself.
You’ve reached the end of this book, but only the beginning of your possible experience with Python. You’ve covered a lot of ground already. In ...