Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.198
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
python39 /
lib64 /
python3.9 /
turtledemo /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-05-01 04:20
__init__.py
314
B
-rw-r--r--
2025-06-03 22:17
__main__.py
14.71
KB
-rwxr-xr-x
2025-06-03 22:17
bytedesign.py
4.16
KB
-rwxr-xr-x
2025-06-03 22:17
chaos.py
951
B
-rw-r--r--
2025-06-03 22:17
clock.py
3.14
KB
-rwxr-xr-x
2025-06-03 22:17
colormixer.py
1.31
KB
-rw-r--r--
2025-06-03 22:17
forest.py
2.91
KB
-rwxr-xr-x
2025-06-03 22:17
fractalcurves.py
3.4
KB
-rwxr-xr-x
2025-06-03 22:17
lindenmayer.py
2.39
KB
-rwxr-xr-x
2025-06-03 22:17
minimal_hanoi.py
2.01
KB
-rwxr-xr-x
2025-06-03 22:17
nim.py
6.36
KB
-rw-r--r--
2025-06-03 22:17
paint.py
1.27
KB
-rwxr-xr-x
2025-06-03 22:17
peace.py
1.05
KB
-rwxr-xr-x
2025-06-03 22:17
penrose.py
3.31
KB
-rwxr-xr-x
2025-06-03 22:17
planet_and_moon.py
2.77
KB
-rwxr-xr-x
2025-06-03 22:17
rosette.py
1.33
KB
-rw-r--r--
2025-06-03 22:17
round_dance.py
1.76
KB
-rw-r--r--
2025-06-03 22:17
sorting_animate.py
4.95
KB
-rwxr-xr-x
2025-06-03 22:17
tree.py
1.38
KB
-rwxr-xr-x
2025-06-03 22:17
turtle.cfg
160
B
-rw-r--r--
2025-06-03 22:17
two_canvases.py
1.09
KB
-rw-r--r--
2025-06-03 22:17
yinyang.py
833
B
-rwxr-xr-x
2025-06-03 22:17
Save
Rename
#! /opt/alt/python39/bin/python3.9 """ turtle-example-suite: tdemo_tree.py Displays a 'breadth-first-tree' - in contrast to the classical Logo tree drawing programs, which use a depth-first-algorithm. Uses: (1) a tree-generator, where the drawing is quasi the side-effect, whereas the generator always yields None. (2) Turtle-cloning: At each branching point the current pen is cloned. So in the end there are 1024 turtles. """ from turtle import Turtle, mainloop from time import perf_counter as clock def tree(plist, l, a, f): """ plist is list of pens l is length of branch a is half of the angle between 2 branches f is factor by which branch is shortened from level to level.""" if l > 3: lst = [] for p in plist: p.forward(l) q = p.clone() p.left(a) q.right(a) lst.append(p) lst.append(q) for x in tree(lst, l*f, a, f): yield None def maketree(): p = Turtle() p.setundobuffer(None) p.hideturtle() p.speed(0) p.getscreen().tracer(30,0) p.left(90) p.penup() p.forward(-210) p.pendown() t = tree([p], 200, 65, 0.6375) for x in t: pass def main(): a=clock() maketree() b=clock() return "done: %.2f sec." % (b-a) if __name__ == "__main__": msg = main() print(msg) mainloop()