Oct-04-2020, 08:30 AM
I know that Turtle is python v2 and turtle is v3.
To import is use this:
But is that state of the art? If i do:
"import turtle as t" seems to be some strange mix with many attributes
referring to the v2 "Turtle" (capital), so it seems.
Does anybody have a clear view on the logic behind all this.
Why would i have to refer to a legacy Turtle when using turtle?
thx,
Paul
To import is use this:
from turtle import Turtle t = Turtle()and i can do everything i want.
But is that state of the art? If i do:
import turtle as tI can do a lot of things, but many are missing, eg. the screen.title() option.
"import turtle as t" seems to be some strange mix with many attributes
referring to the v2 "Turtle" (capital), so it seems.
Does anybody have a clear view on the logic behind all this.
Why would i have to refer to a legacy Turtle when using turtle?

thx,
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.