QuestionQ54

VerifiedCoding Conventions, Best Practices, and Standardization

Select the true statement concerning PEP 8 recommendations for imports.

Explanation

PEP 8 directs that imports be placed at the top of a file, immediately after module comments and docstrings and before module globals and constants. It advises avoiding wildcard imports because they make the available namespace names unclear.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!