I am a beginner, so I apologize for this question.
When importing in Python, if I do
from star import triangle
, am I importing the entire star module, or just the triangle function inside the star module?
As in, when I run my script, what does python do when it looks at that line?
Also, what is happening when someone does from . import square
?
I think I saw someone use from ... import square
also. What's that also?