What is a 'Library' versus a 'Module'?

Asked by blessing007 · 6 months ago

1 Answer

50
amorebise · 6 months ago Top Answer

A module is a single file. A library is a collection of modules. Think of a module as a book and a library as... well, a whole library!

When you get into data science or AI, you will use massive libraries like NumPy or Pandas. They are the heavy machinery of the Python world.

Log in to add a comment.