Linux server1.hosting4iran.com 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
LiteSpeed
Server IP : 185.208.174.156 & Your IP : 216.73.216.218
Domains : 282 Domain
User : satitravel
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib64 /
python3.12 /
turtledemo /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-02-12 01:01
__init__.py
314
B
-rw-r--r--
2025-10-09 11:07
__main__.py
15.01
KB
-rwxr-xr-x
2025-10-09 11:07
bytedesign.py
4.15
KB
-rwxr-xr-x
2025-10-09 11:07
chaos.py
951
B
-rw-r--r--
2025-10-09 11:07
clock.py
3.23
KB
-rwxr-xr-x
2025-10-09 11:07
colormixer.py
1.31
KB
-rw-r--r--
2025-10-09 11:07
forest.py
2.9
KB
-rwxr-xr-x
2025-10-09 11:07
fractalcurves.py
3.39
KB
-rwxr-xr-x
2025-10-09 11:07
lindenmayer.py
2.38
KB
-rwxr-xr-x
2025-10-09 11:07
minimal_hanoi.py
2
KB
-rwxr-xr-x
2025-10-09 11:07
nim.py
6.36
KB
-rw-r--r--
2025-10-09 11:07
paint.py
1.26
KB
-rwxr-xr-x
2025-10-09 11:07
peace.py
1.04
KB
-rwxr-xr-x
2025-10-09 11:07
penrose.py
3.3
KB
-rwxr-xr-x
2025-10-09 11:07
planet_and_moon.py
2.76
KB
-rwxr-xr-x
2025-10-09 11:07
rosette.py
1.33
KB
-rw-r--r--
2025-10-09 11:07
round_dance.py
1.76
KB
-rw-r--r--
2025-10-09 11:07
sorting_animate.py
4.93
KB
-rwxr-xr-x
2025-10-09 11:07
tree.py
1.37
KB
-rwxr-xr-x
2025-10-09 11:07
turtle.cfg
160
B
-rw-r--r--
2025-10-09 11:07
two_canvases.py
1.09
KB
-rw-r--r--
2025-10-09 11:07
yinyang.py
821
B
-rwxr-xr-x
2025-10-09 11:07
Save
Rename
#! /usr/bin/python3.12 """ turtle-example-suite: tdemo_paint.py A simple event-driven paint program - left mouse button moves turtle - middle mouse button changes color - right mouse button toggles between pen up (no line drawn when the turtle moves) and pen down (line is drawn). If pen up follows at least two pen-down moves, the polygon that includes the starting point is filled. ------------------------------------------- Play around by clicking into the canvas using all three mouse buttons. ------------------------------------------- To exit press STOP button ------------------------------------------- """ from turtle import * def switchupdown(x=0, y=0): if pen()["pendown"]: end_fill() up() else: down() begin_fill() def changecolor(x=0, y=0): global colors colors = colors[1:]+colors[:1] color(colors[0]) def main(): global colors shape("circle") resizemode("user") shapesize(.5) width(3) colors=["red", "green", "blue", "yellow"] color(colors[0]) switchupdown() onscreenclick(goto,1) onscreenclick(changecolor,2) onscreenclick(switchupdown,3) return "EVENTLOOP" if __name__ == "__main__": msg = main() print(msg) mainloop()