View Single Post
  #2  
Old 12-06-2017, 12:33 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
It looks like the file is not found. Does the following work?

Code:
directory = r'D:\PhD\Study-I_Part_I\My_Programs\DFI\Participant_Data'
filename = str(id) + '_experiment_data.txt'
filepath = os.path.join(directory, filename)
experiment_data = open(filepath,'a')
Reply With Quote