session=
starting all over
session= TRT
--> -->
 
 
<type 'exceptions.IOError'>
Python 2.7.14: /usr/bin/python
Thu Nov 23 23:48:35 2017

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /home/me/public_html/idc5/idc.py in ()
     46         os.makedirs("data/"+session)
     47     #clear the fail list
=>   48     fail_handle = open("data/"+session+"/failures.txt", "w")
     49     #copy the list of exercises to a working copy for the user to use
     50     #copyfile("data/exercises.txt","data/"+session+"/exercises_to_do.txt")
fail_handle undefined, builtin open = <built-in function open>, session = 'TRT'

<type 'exceptions.IOError'>: [Errno 13] Permission denied: 'data/TRT/failures.txt'
      args = (13, 'Permission denied')
      errno = 13
      filename = 'data/TRT/failures.txt'
      message = ''
      strerror = 'Permission denied'