|
|
|
|
|
by chippiewill
448 days ago
|
|
There's a few things: - uv won't necessarily know which modules aren't already present, because they can load from modules being developed in the current directory - It's not easy to determine what imports will happen in a Python script due to transitive dependencies and dynamic loading - The names of python modules are not always the same as the packages that contain them - for example the yaml module comes from the pyyaml package Also the second line of the Zen of Python is "explicit is better than implicit": https://peps.python.org/pep-0020/ |
|
Should DRY don't repeat yourself be higher up?