#1
|
|||
|
|||
Data Files
I'm creating a data file for the program I wrote. Here is the setup. I have an input named subject called by viz.input. Then I say the following in the data file:
Code:
start_time = time.time() question_data = open('study_data','a') elapsed_time = time.time() -start_time data = 'Subject is ' + str(subject) question_data.write(data) question_data.flush() Subject is Subject is 1 |
|
|