CBSE Class 11 Computer Science Question 15 of 22

Introduction to Python Modules — Question 15

Back to all questions
15
Question

Question 15

Why is from import* statement not recommended for importing Python modules in an external program?

Answer

Using from module_name import * is not recommended because it can lead to namespace pollution, reduce code readability, introduce unnecessary imports, and increase the risk of errors due to unintended or conflicting names.

Get the Bright Tutorials app Stuck on a question? Ask Bright Buddy — your AI tutor — for step-by-step help in the app.