Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Page 1
- Page 1 - Col 1. Page 1 - Col 2.
- #Page 2
- Page 2 - COl 1. Page 1 - Col 2.
- {'0': {'position': '30'}, '1': {'position': '60'}}
- [{
- "0": "Page 1 - Col 1."
- }, {
- "0": ""
- }, {
- "1": "Page 1 - Col 2."
- }, {
- "1": ""
- }, {
- "0": "Page 2 - Col 1."
- }, {
- "0": ""
- }, {
- "1": "Page 2 - Col 2."
- }, {
- "1": ""
- }]
- [{
- "0": "Page 1 - Col 1.",
- "1": "Page 1 - Col 2."
- },{
- "0": "",
- "1": ""
- },{
- "0": "Page 2 - Col 1.",
- "1": "Page 2 - Col 2."
- },{
- "0": "",
- "1": ""
- }]
- column = []
- node = {}
- for line in out.splitlines():
- node[str(i)] = str(line)
- column.append(node)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement