Advertisement
Guest User

Untitled

a guest
Jul 12th, 2019
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  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)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement