i have the file in a directory called my documents and another directory called computer science and the file is there
Code:
f = open("mydocuments/computerscience/student.txt")
lines = f.readlines()
for line in lines:
# do something with line
line_head = line[start:6]
line_tail = line[6:-1]
but this dont work any ideas