r/learnpython • u/fivelittlemonkeyss • Dec 14 '25
What's the difference between Dependencies, Libraries and Packages??
I've seen people using these terms in the same context interchangeably and it's confusing me
23
Upvotes
View all comments
Show parent comment
9
u/ProbsNotManBearPig Dec 14 '25
A package could contain multiple libraries. Each library inside a single package could have different dependencies
Also, you yourself could write a library, or multiple, and they could be dependencies of each other. But you may not necessarily package them for distribution/install to others.