What are the packages in Python?
Answers
Answered by
2
They are simply directories, but with a twist. Each package in Python is a directory which MUST contain a special file called init.py .This file can be empty, and it indicates that the directory it contains is a Python package, so it can be imported the same way a module can be imported.
Similar questions
English,
8 months ago
Math,
8 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Geography,
1 year ago