Current Path: > > usr > > lib64 > python2.7 > Demo > > turtle
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
about_turtle.txt | File | 3525 bytes | April 19 2020 21:13:39. | |
about_turtledemo.txt | File | 302 bytes | April 19 2020 21:13:39. | |
demohelp.txt | File | 3034 bytes | April 19 2020 21:13:39. | |
tdemo_I_dontlike_tiltdemo.py | File | 1073 bytes | April 10 2024 04:57:37. | |
tdemo_I_dontlike_tiltdemo.pyc | File | 1660 bytes | April 10 2024 04:58:47. | |
tdemo_I_dontlike_tiltdemo.pyo | File | 1660 bytes | April 10 2024 04:58:47. | |
tdemo_bytedesign.py | File | 4218 bytes | April 10 2024 04:57:37. | |
tdemo_bytedesign.pyc | File | 5313 bytes | April 10 2024 04:58:47. | |
tdemo_bytedesign.pyo | File | 5313 bytes | April 10 2024 04:58:47. | |
tdemo_chaos.py | File | 951 bytes | April 19 2020 21:13:39. | |
tdemo_chaos.pyc | File | 2296 bytes | April 10 2024 04:58:47. | |
tdemo_chaos.pyo | File | 2296 bytes | April 10 2024 04:58:47. | |
tdemo_clock.py | File | 3219 bytes | April 10 2024 04:57:37. | |
tdemo_clock.pyc | File | 4535 bytes | April 10 2024 04:58:47. | |
tdemo_clock.pyo | File | 4535 bytes | April 10 2024 04:58:47. | |
tdemo_colormixer.py | File | 1338 bytes | April 19 2020 21:13:39. | |
tdemo_colormixer.pyc | File | 2365 bytes | April 10 2024 04:58:47. | |
tdemo_colormixer.pyo | File | 2365 bytes | April 10 2024 04:58:47. | |
tdemo_fractalcurves.py | File | 3409 bytes | April 10 2024 04:57:37. | |
tdemo_fractalcurves.pyc | File | 3524 bytes | April 10 2024 04:58:47. | |
tdemo_fractalcurves.pyo | File | 3524 bytes | April 10 2024 04:58:47. | |
tdemo_lindenmayer_indian.py | File | 2432 bytes | April 10 2024 04:57:37. | |
tdemo_lindenmayer_indian.pyc | File | 3602 bytes | April 10 2024 04:58:47. | |
tdemo_lindenmayer_indian.pyo | File | 3602 bytes | April 10 2024 04:58:47. | |
tdemo_minimal_hanoi.py | File | 2049 bytes | April 10 2024 04:57:37. | |
tdemo_minimal_hanoi.pyc | File | 3623 bytes | April 10 2024 04:58:47. | |
tdemo_minimal_hanoi.pyo | File | 3623 bytes | April 10 2024 04:58:47. | |
tdemo_nim.py | File | 6514 bytes | April 19 2020 21:13:39. | |
tdemo_nim.pyc | File | 9384 bytes | April 10 2024 04:58:47. | |
tdemo_nim.pyo | File | 9384 bytes | April 10 2024 04:58:47. | |
tdemo_paint.py | File | 1289 bytes | April 10 2024 04:57:37. | |
tdemo_paint.pyc | File | 1901 bytes | April 10 2024 04:58:47. | |
tdemo_paint.pyo | File | 1901 bytes | April 10 2024 04:58:47. | |
tdemo_peace.py | File | 1065 bytes | April 10 2024 04:57:37. | |
tdemo_peace.pyc | File | 1388 bytes | April 10 2024 04:58:47. | |
tdemo_peace.pyo | File | 1388 bytes | April 10 2024 04:58:47. | |
tdemo_penrose.py | File | 3535 bytes | April 10 2024 04:57:37. | |
tdemo_penrose.pyc | File | 6005 bytes | April 10 2024 04:58:47. | |
tdemo_penrose.pyo | File | 6005 bytes | April 10 2024 04:58:47. | |
tdemo_planet_and_moon.py | File | 2823 bytes | April 10 2024 04:57:37. | |
tdemo_planet_and_moon.pyc | File | 4535 bytes | April 10 2024 04:58:47. | |
tdemo_planet_and_moon.pyo | File | 4535 bytes | April 10 2024 04:58:47. | |
tdemo_tree.py | File | 1410 bytes | April 10 2024 04:57:37. | |
tdemo_tree.pyc | File | 2123 bytes | April 10 2024 04:58:47. | |
tdemo_tree.pyo | File | 2123 bytes | April 10 2024 04:58:47. | |
tdemo_two_canvases.py | File | 1120 bytes | April 19 2020 21:13:39. | |
tdemo_two_canvases.pyc | File | 1635 bytes | April 10 2024 04:58:47. | |
tdemo_two_canvases.pyo | File | 1635 bytes | April 10 2024 04:58:47. | |
tdemo_wikipedia.py | File | 1347 bytes | April 19 2020 21:13:39. | |
tdemo_wikipedia.pyc | File | 1955 bytes | April 10 2024 04:58:47. | |
tdemo_wikipedia.pyo | File | 1955 bytes | April 10 2024 04:58:47. | |
tdemo_yinyang.py | File | 807 bytes | April 10 2024 04:57:37. | |
tdemo_yinyang.pyc | File | 1320 bytes | April 10 2024 04:58:47. | |
tdemo_yinyang.pyo | File | 1320 bytes | April 10 2024 04:58:47. | |
turtle.cfg | File | 160 bytes | April 19 2020 21:13:39. | |
turtleDemo.py | File | 10091 bytes | April 10 2024 04:57:37. | |
turtleDemo.pyc | File | 10948 bytes | April 10 2024 04:58:47. | |
turtleDemo.pyo | File | 10948 bytes | April 10 2024 04:58:47. |
---------------------------------------------- turtleDemo - Help ---------------------------------------------- This document has two sections: (1) How to use the demo viewer (2) How to add your own demos to the demo repository (1) How to use the demo viewer. Select a demoscript from the example menu. The (syntax colored) source code appears in the left source code window. IT CANNOT BE EDITED, but ONLY VIEWED! - Press START button to start the demo. - Stop execution by pressing the STOP button. - Clear screen by pressing the CLEAR button. - Restart by pressing the START button again. SPECIAL demos are those which run EVENTDRIVEN. (For example clock.py - or oldTurtleDemo.py which in the end expects a mouse click.): Press START button to start the demo. - Until the EVENTLOOP is entered everything works as in an ordinary demo script. - When the EVENTLOOP is entered, you control the application by using the mouse and/or keys (or it's controlled by some timer events) To stop it you can and must press the STOP button. While the EVENTLOOP is running, the examples menu is disabled. - Only after having pressed the STOP button, you may restart it or choose another example script. * * * * * * * * In some rare situations there may occur interferences/conflicts between events concerning the demo script and those concerning the demo-viewer. (They run in the same process.) Strange behaviour may be the consequence and in the worst case you must close and restart the viewer. * * * * * * * * (2) How to add your own demos to the demo repository IMPORTANT! When imported, the demo should not modify the system by calling functions in other modules, such as sys, tkinter, or turtle. Global variables should be initialized in main(). - The script name must begin with tdemo_ , so it must have the form tdemo_<your-script-name>.py - The code must contain a main() function which will be executed by the viewer (see provided example scripts). It may return a string which will be displayed in the Label below the source code window (when execution has finished.) - In order to run mydemo.py by itself, such as during development, add the following at the end of the file: if __name__ == '__main__': main() mainloop() # keep window python -m turtledemo.mydemo # will then run it - If the demo is EVENT DRIVEN, main must return the string "EVENTLOOP". This informs the demo viewer that the script is still running and must be stopped by the user! If an "EVENTLOOP" demo runs by itself, as with clock, which uses ontimer, or minimal_hanoi, which loops by recursion, then the code should catch the turtle.Terminator exception that will be raised when the user presses the STOP button. (Paint is not such a demo; it only acts in response to mouse clicks and movements.)
SILENT KILLER Tool