Workshop 2008, June 16th-20th

Presentation Slides

Excercise Files

Just the syntax:

self.f = open('workfile', 'w')
self.f.write("CELL ID= %s CELL TYPE= %s volume= %s\n"%(cell.id,cell.type,cell.volume))
self.f.close() 

Note: 'w' writes to a file 'a' or 'a+' appends to a file

CompuCell3D: Workshops/Workshop8 (last edited 2011-01-27 07:12:45 by adsl-99-57-0-224)