[Bugs] #548 NORM: Turtle Art:: read and write to text file

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Nov 16 15:59:57 EST 2010


#548: Turtle Art:: read and write to text file
----------------------------+-----------------------------------------------
    Reporter:  tonyforster  |          Owner:  walter     
        Type:  enhancement  |         Status:  new        
    Priority:  Normal       |      Milestone:  0.90       
   Component:  Turtleart    |        Version:  Unspecified
    Severity:  Unspecified  |       Keywords:             
Status_field:  Assigned     |   Distribution:  Unspecified
   Seeta_dev:               |  
----------------------------+-----------------------------------------------

Comment(by walter):

 1. Samples are now in separate small files in the pysamples subdirectory
 2. You load samples from the toolbar and the sample code is copied to the
 journal
 3. Clicking on a block will open the chooser to load python code from the
 journal
 4. Python code is loaded on a per-block basis
 5. No error message is shown if the code is not loaded (not sure this is
 the best behavior)
 6. Python code can be edited in either Pippy or the plain text editor,
 Edit.
 7. Currently, the code loaded into a block is not saved between sessions.
 I am not sure of the best way to do this. If I save the code directly in
 the block, then it represents a serious security risk when projects are
 shared. Maybe I will save the object ids of the associated python files
 and thus require that the python file be explicitly shared and loaded (and
 hopefully examined) before it is executed?

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/548#comment:15>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list