Submit
Path:
~
/
/
usr
/
lib64
/
python2.7
/
Demo
/
turtle
/
File Content:
demohelp.txt
---------------------------------------------- xturtleDemo - 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 coloured) 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 - scriptname: must begin with tdemo_ , so it must have the form tdemo_<your-script-name>.py - place: same directory as xturtleDemo.py or some subdirectory, the name of which must also begin with tdemo_..... - requirements on source code: code must contain a main() function which will be executed by the viewer (see provided example scripts) main() may return a string which will be displayed in the Label below the source code window (when execution has finished.) !! For programs, which are EVENT DRIVEN, main must return !! the string "EVENTLOOP". This informs the viewer, that the !! script is still running and must be stopped by the user!
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
about_turtle.txt
3525 bytes
0644
about_turtledemo.txt
302 bytes
0644
demohelp.txt
2438 bytes
0644
tdemo_I_dontlike_tiltdemo.py
1073 bytes
0644
tdemo_I_dontlike_tiltdemo.pyc
1659 bytes
0644
tdemo_I_dontlike_tiltdemo.pyo
1659 bytes
0644
tdemo_bytedesign.py
4219 bytes
0644
tdemo_bytedesign.pyc
5313 bytes
0644
tdemo_bytedesign.pyo
5313 bytes
0644
tdemo_chaos.py
953 bytes
0644
tdemo_chaos.pyc
2297 bytes
0644
tdemo_chaos.pyo
2297 bytes
0644
tdemo_clock.py
3018 bytes
0644
tdemo_clock.pyc
4490 bytes
0644
tdemo_clock.pyo
4490 bytes
0644
tdemo_colormixer.py
1338 bytes
0644
tdemo_colormixer.pyc
2365 bytes
0644
tdemo_colormixer.pyo
2365 bytes
0644
tdemo_fractalcurves.py
3410 bytes
0644
tdemo_fractalcurves.pyc
3524 bytes
0644
tdemo_fractalcurves.pyo
3524 bytes
0644
tdemo_lindenmayer_indian.py
2433 bytes
0644
tdemo_lindenmayer_indian.pyc
3602 bytes
0644
tdemo_lindenmayer_indian.pyo
3602 bytes
0644
tdemo_minimal_hanoi.py
1961 bytes
0644
tdemo_minimal_hanoi.pyc
3589 bytes
0644
tdemo_minimal_hanoi.pyo
3589 bytes
0644
tdemo_nim.py
6588 bytes
0644
tdemo_nim.pyc
9383 bytes
0644
tdemo_nim.pyo
9383 bytes
0644
tdemo_paint.py
1126 bytes
0644
tdemo_paint.pyc
1737 bytes
0644
tdemo_paint.pyo
1737 bytes
0644
tdemo_peace.py
1117 bytes
0644
tdemo_peace.pyc
1443 bytes
0644
tdemo_peace.pyo
1443 bytes
0644
tdemo_penrose.py
3536 bytes
0644
tdemo_penrose.pyc
6005 bytes
0644
tdemo_penrose.pyo
6005 bytes
0644
tdemo_planet_and_moon.py
2840 bytes
0644
tdemo_planet_and_moon.pyc
4548 bytes
0644
tdemo_planet_and_moon.pyo
4548 bytes
0644
tdemo_tree.py
1411 bytes
0644
tdemo_tree.pyc
2123 bytes
0644
tdemo_tree.pyo
2123 bytes
0644
tdemo_wikipedia.py
1347 bytes
0644
tdemo_wikipedia.pyc
1955 bytes
0644
tdemo_wikipedia.pyo
1955 bytes
0644
tdemo_yinyang.py
808 bytes
0644
tdemo_yinyang.pyc
1320 bytes
0644
tdemo_yinyang.pyo
1320 bytes
0644
turtle.cfg
160 bytes
0644
turtleDemo.py
10183 bytes
0644
turtleDemo.pyc
10212 bytes
0644
turtleDemo.pyo
10212 bytes
0644
turtledemo_two_canvases.py
885 bytes
0644
turtledemo_two_canvases.pyc
1252 bytes
0644
turtledemo_two_canvases.pyo
1252 bytes
0644
N4ST4R_ID | Naxtarrr