Activities/Turtle Art: Difference between revisions
| Line 860: | Line 860: | ||
====Python function block==== | ====Python function block==== | ||
The Python function block is processed through tajail.py. For security reasons, it cannot access Turtle Art objects. It can it only access the Python language and the time | The Python function block is processed through tajail.py. For security reasons, it cannot access Turtle Art objects. It can it only access the Python language and the time and math libraries as the following extract from tajail.py shows. | ||
from time import * | from time import * | ||
from math import * | from math import * | ||
For more information on allowable syntax for this block: | For more information on allowable syntax for this block: | ||