SHARE
TWEET

Untitled

a guest Jan 10th, 2019 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. with open('ff30.pat') as f:
  2.     content = f.readlines()
  3.  
  4.  
  5. split_by_30 = [content[x:x+30] for x in range(0, len(content),30)]
  6. data = {}
  7. i = 0
  8. j = 0
  9. for tuple_of_30 in split_by_30:
  10.     if j == 9:
  11.         j = 0
  12.         i+=1
  13.     else:
  14.         j+=1
  15.     if j == i:
  16.         continue
  17.    
  18.     data[(i,j)] = tuple_of_30
  19.    
  20. data[(1,1)]
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top