Managing Dependencies
Understand the need for dependency management.
We'll cover the following...
The need for dependency management
When we write code for others to use, it’s important that we package it appropriately and provide them with everything they would need to install and run the program. Consider the following code:
Press + to interact
for i in range(10):print(i)
This code may be given to anyone as it is because everything used here is either a standard Python language feature or part of the Python standard library. However, consider the following code:
Press + to interact
import numpy as npfor i in np.arange(10):print(i)
Can we give this to another developer and ...