clear canvas turtle code example
Example 1: how to hide turtle in python
>>> turtle.hideturtle()
Example 2: setheading in python
turtle.setheading(direction) #set the direction for turtle
>>> turtle.hideturtle()
turtle.setheading(direction) #set the direction for turtle