summaryrefslogtreecommitdiffstats
path: root/Lib/turtledemo/clock.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/turtledemo/clock.py')
-rwxr-xr-xLib/turtledemo/clock.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/turtledemo/clock.py b/Lib/turtledemo/clock.py
index b7a2f36..62c8851 100755
--- a/Lib/turtledemo/clock.py
+++ b/Lib/turtledemo/clock.py
@@ -11,11 +11,8 @@ and time
------------------------------------
"""
from turtle import *
-from turtle import Terminator # not in __all__
from datetime import datetime
-mode("logo")
-
def jump(distanz, winkel=0):
penup()
right(winkel)
@@ -43,7 +40,6 @@ def make_hand_shape(name, laenge, spitze):
hand_form = get_poly()
register_shape(name, hand_form)
-
def clockface(radius):
reset()
pensize(7)
@@ -84,7 +80,6 @@ def setup():
writer.pu()
writer.bk(85)
-
def wochentag(t):
wochentag = ["Monday", "Tuesday", "Wednesday",
"Thursday", "Friday", "Saturday", "Sunday"]
@@ -131,6 +126,7 @@ def main():
return "EVENTLOOP"
if __name__ == "__main__":
+ mode("logo")
msg = main()
print(msg)
mainloop()