View Single Post
  #5  
Old 04-11-2008, 09:51 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Here is a function that wraps calls around the write function and allows multiple arguments:
Code:
def writeData(f,*args):
	f.write(''.join([str(v) for v in args]))
Here is some code that will use this function:
Code:
writeData(tracking_data,'*** Reached point ' + letter + 'in', clock(), 'seconds' + '\n')
Reply With Quote