Computer Science, asked by sunnysaini2805, 1 year ago

How to import everything from a python namespace / package?

Answers

Answered by omegads04
0

It is a bad idea to be importing everything from a Python package as a package is not a super-module. it's a collection of modules grouped together. So you should just import what you need in that file. Also importing everything from package into your global namespace is going to cause a proliferation of names, and very likely conflicts among those names.

Similar questions