Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with open('ff30.pat') as f:
- content = f.readlines()
- split_by_30 = [content[x:x+30] for x in range(0, len(content),30)]
- data = {}
- i = 0
- j = 0
- for tuple_of_30 in split_by_30:
- if j == 9:
- j = 0
- i+=1
- else:
- j+=1
- if j == i:
- continue
- data[(i,j)] = tuple_of_30
- data[(1,1)]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement