The _______ file can control which modules are imported when 'from package import *' is invoked.

  • import_rules.txt
  • init.py
  • main.py
  • package_config.ini
The init.py file in a Python package can control which modules are imported when 'from package import *' is used. It allows you to define the package's public interface.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *