A simple Graphical Interface for executing Python turtle graphics from external files interactively, to make turtle programming easier & better.
- Browse and load
.pyfiles with turtle code - A small built-in integrated code editor inside
- Embedded turtle canvas (no external windows)
- Built-in sandboxed execution environment
pip install turtlelab
turtlelab test.py
- Click Browse... to select a Python file
- Review the code from the editor
- Click Run to execute (Ctrl+Enter). It will automatically sync from the file loaded as well before running. So you can edit the file in your personal Editor and just click 'Run' and it will auto-fetch code from the file.
- Click Clear to reset the canvas
- Click Save (Ctrl-s) to save the code in code editor to the loaded file. If the file is not loaded already, it will prompt a filedialog window to ask save name and path
- Use provided
t(turtle) ands(screen) objects directly - Do NOT use
import turtlein your code
Your code has access to:
t- RawTurtle object with full turtle graphics APIs- TurtleScreen for the canvas
More features will be coming soon!