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

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Nov 15 15:08:34 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):

 I've added sample code to tamyblock for copy and paste to/from the
 clipboard and save/load to/from the Journal. (I still need to add support
 for file IO in non-Sugar environments.)

 Questions:

 (1) Should all these samples be crammed into one by python file or would
 it make sense to make a collection of small files, e.g., copy.py,
 paste.py, etc.

 (2) I am on the fence about making these predefined blocks as they seem so
 useful.

 (3) I will have to make sure that non-JSON-encoded data is readable, e.g.,
 data saved from Measure.

 (4) Should I strip the [] off the JSON data when pasting, saving?

 (5) Should I enable each Python block to load its own code? In which case,
 there is a UI question: each time I click, should I prompt to reload the
 block? Or should I somehow load the block through the toolbar? The how to
 associate which block with the loader? Last one touched?

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


More information about the Bugs mailing list