A dependency is a set of files required by an operation. Here’s a simple example:
This operation runs the
train main module (i.e.
requires the file
data.txt to do so.
train.py might look like:
import model # data.txt assumed to be available in cwd data = open("data.txt").read() model.train(data)
Here’s what the project structure might look like, including the