SHARE
TWEET

Untitled

a guest Jul 12th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Page 1
  2. Page 1 - Col 1.         Page 1 - Col 2.
  3.  
  4. #Page 2
  5. Page 2 - COl 1.         Page 1 - Col 2.
  6.      
  7. {'0': {'position': '30'}, '1': {'position': '60'}}
  8.      
  9. [{
  10.     "0": "Page 1 - Col 1."
  11. }, {
  12.     "0": ""
  13. }, {
  14.     "1": "Page 1 - Col 2."
  15. }, {
  16.     "1": ""
  17. }, {
  18.     "0": "Page 2 - Col 1."
  19. }, {
  20.     "0": ""
  21. }, {
  22.     "1": "Page 2 - Col 2."
  23. }, {
  24.     "1": ""
  25. }]
  26.      
  27. [{
  28.     "0": "Page 1 - Col 1.",
  29.     "1": "Page 1 - Col 2."
  30. },{
  31.     "0": "",
  32.     "1": ""
  33. },{
  34.     "0": "Page 2 - Col 1.",
  35.     "1": "Page 2 - Col 2."
  36. },{
  37.     "0": "",
  38.     "1": ""
  39. }]
  40.      
  41. column = []
  42.      
  43. node = {}
  44.  
  45. for line in out.splitlines():
  46.     node[str(i)] = str(line)
  47.  
  48. column.append(node)
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