Expand|Select|Wrap|Line Numbers
- thelist = []
- with open('rollernet.txt') as f:
- thelist =[list(map(int,x.split())) for x in f.readlines()]
- sorted(thelist, key=lambda line : line[2])
- other_list = []
- initial_time = int(list[0][2])
File "script.py", line 14, in <module>
initial_time = int(list[0][2]) #
TypeError: 'type' object is not subscriptable
what to do with this