What is a Python library? Python / By Farukh Hashmi A library is a collection of modules, each module can have multiple functions inside it.