The code listings in this book can be found under chapter04 directory at https://github.com/PacktPublishing/Hands-On-Enterprise-Application-Development-with-Python.
The code samples can be cloned by running the following command:
git clone https://github.com/PacktPublishing/Hands-On-Enterprise-Application-Development-with-Python
The code samples mentioned in the chapter require Python 3.6 and above to run. A virtual environment is a preferred option to keep the dependencies segregated from the system.