3 ms·
Your first point is something I mentioned in my comment (although admittedly I mixed the order of the command). In general it's a bad idea to import everything
by BerislavLopac 3y ago
Your first point is something I mentioned in my comment (although admittedly I mixed the order of the command). In general it's a bad idea to import everything from a module into the global namespace; it's recommended to keep it under some namespace for context:
I.e., assuming my_module has function foo, instead of:
from my_module import *
foo()
Use this:
import my_module
my_module.foo()
Or this:
import my_module as mm
mm.foo()