Changes

Jump to navigation Jump to search
103 bytes removed ,  09:19, 24 February 2011
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, math and numpy libraries as the following extract from tajail.py shows.
+
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 *
try:
  −
    from numpy import *
  −
except ImportError:
  −
    _logger.error("could not import numpy")
  −
      
For more information on allowable syntax for this block:
 
For more information on allowable syntax for this block:

Navigation menu