use import *

Thomas 'PointedEars' Lahn PointedEars at web.de
Mon Aug 1 11:55:19 EDT 2016


Ganesh Pal wrote:

> is it a good programming practice to use [from … ] import * ? 

No; but it is not as harmful as one would think either.

<https://docs.python.org/3/tutorial/modules.html#importing-from-a-package>

> if answer is "NO " then  are there situation where you are forced to use
> import *

No.

-- 
PointedEars

Twitter: @PointedEars2
Please do not cc me. / Bitte keine Kopien per E-Mail.



More information about the Python-list mailing list