0
what is the difference between these two commands in python ? from pyad import * Vs import pyad
from pyad import * Vs import pyad .....thank you in advance.
2 odpowiedzi
+ 1
With import pyad you would have to put the pyad. prefix before accessing anything from it e.g. pyad.func()
With from pyad import * you dont need to do that, this however can cause naming errors if 2 modules you use have a function with the same name
0
Thank you TurtleShell