Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.122
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
local /
lib /
python3.10 /
turtledemo /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-sr-x
2025-06-04 09:23
__init__.py
314
B
-rw-r--r--
2025-06-04 09:23
__main__.py
14.7
KB
-rwxr-xr-x
2025-06-04 09:23
bytedesign.py
4.15
KB
-rwxr-xr-x
2025-06-04 09:23
chaos.py
951
B
-rw-r--r--
2025-06-04 09:23
clock.py
3.11
KB
-rwxr-xr-x
2025-06-04 09:23
colormixer.py
1.31
KB
-rw-r--r--
2025-06-04 09:23
forest.py
2.9
KB
-rwxr-xr-x
2025-06-04 09:23
fractalcurves.py
3.39
KB
-rwxr-xr-x
2025-06-04 09:23
lindenmayer.py
2.38
KB
-rwxr-xr-x
2025-06-04 09:23
minimal_hanoi.py
2
KB
-rwxr-xr-x
2025-06-04 09:23
nim.py
6.36
KB
-rw-r--r--
2025-06-04 09:23
paint.py
1.26
KB
-rwxr-xr-x
2025-06-04 09:23
peace.py
1.04
KB
-rwxr-xr-x
2025-06-04 09:23
penrose.py
3.3
KB
-rwxr-xr-x
2025-06-04 09:23
planet_and_moon.py
2.76
KB
-rwxr-xr-x
2025-06-04 09:23
rosette.py
1.33
KB
-rw-r--r--
2025-06-04 09:23
round_dance.py
1.76
KB
-rw-r--r--
2025-06-04 09:23
sorting_animate.py
4.93
KB
-rwxr-xr-x
2025-06-04 09:23
tree.py
1.37
KB
-rwxr-xr-x
2025-06-04 09:23
turtle.cfg
160
B
-rw-r--r--
2025-06-04 09:23
two_canvases.py
1.09
KB
-rw-r--r--
2025-06-04 09:23
yinyang.py
821
B
-rwxr-xr-x
2025-06-04 09:23
Save
Rename
""" turtle-example-suite: tdemo_wikipedia3.py This example is inspired by the Wikipedia article on turtle graphics. (See example wikipedia1 for URLs) First we create (ne-1) (i.e. 35 in this example) copies of our first turtle p. Then we let them perform their steps in parallel. Followed by a complete undo(). """ from turtle import Screen, Turtle, mainloop from time import perf_counter as clock, sleep def mn_eck(p, ne,sz): turtlelist = [p] #create ne-1 additional turtles for i in range(1,ne): q = p.clone() q.rt(360.0/ne) turtlelist.append(q) p = q for i in range(ne): c = abs(ne/2.0-i)/(ne*.7) # let those ne turtles make a step # in parallel: for t in turtlelist: t.rt(360./ne) t.pencolor(1-c,0,c) t.fd(sz) def main(): s = Screen() s.bgcolor("black") p=Turtle() p.speed(0) p.hideturtle() p.pencolor("red") p.pensize(3) s.tracer(36,0) at = clock() mn_eck(p, 36, 19) et = clock() z1 = et-at sleep(1) at = clock() while any(t.undobufferentries() for t in s.turtles()): for t in s.turtles(): t.undo() et = clock() return "runtime: %.3f sec" % (z1+et-at) if __name__ == '__main__': msg = main() print(msg) mainloop()