Question #139

Which package typically contains an file?

Python defines two types of packages, regular packages and namespace packages. Regular packages are traditional packages as they existed in Python 3.2 and earlier. A regular package is typically implemented as a directory containing an file. With namespace packages, there is no parent/ file. In fact, there may be multiple parent directories found during import search, where each one is provided by a different portion. (

Comment on Disqus:

Comment on Twitter:

Question difficulty: 🔵🔵🔵🔵🔵