- Builtin objects are all objects that are written inside the Python interpreter in C language.
- Builtin modules contain builtins objects.
- Some builtin objects are not immediately available in the global namespace. They are parts of a builtin module. To use those objects the module needs to be imported first. E.g.:
- import time
- A list of all builtin modules can be printed out with:
- import sys
- Standard libraries is a jargon that includes both builtin modules written in C and also modules written in Python.
- Standard libraries written in Python reside in the Python installation directory as .py files. You can find their directory path with
- Packages are a collection of .py modules.
- Third-party libraries are packages or modules written by third-party persons (not the Python core development team).
- Third-party libraries can be installed from the terminal/command line:
pip install pandas
- Mac and Linux:
pip3 install pandas