Thread: Data Files
View Single Post
  #2  
Old 03-23-2006, 11:38 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
Hi,

You're opening the file for appending. So it is adding the data to the existing data in the file. If you want to create the file from scratch open it using the 'w' flag:
Code:
question_data = open('study_data','w')
Reply With Quote