This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import openpyxl | |
| from openpyxl import Workbook | |
| ############################################# | |
| # MAIN | |
| ############################################# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import openpyxl | |
| import json | |
| from openpyxl import Workbook | |
| ############################################# | |
| # MAIN | |
| ############################################# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import openpyxl | |
| import json | |
| from openpyxl import load_workbook | |
| ############################################# | |
| # MAIN | |
| ############################################# | |
| if __name__ == '__main__': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import openpyxl | |
| import json | |
| from openpyxl import load_workbook | |
| ############################################# | |
| # MAIN | |
| ############################################# | |
| if __name__ == '__main__': |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import openpyxl | |
| import json | |
| from openpyxl import Workbook | |
| def populate_sheet(json_data, sheet): | |
| sheet.cell(1,1, "Month") | |
| sheet.cell(1,2, "food") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import openpyxl | |
| import json | |
| from openpyxl import load_workbook | |
| def get_sheet_dict(ws): | |
| year_dict = {} | |
| column_headers = {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import openpyxl | |
| import json | |
| from openpyxl import Workbook | |
| from openpyxl.styles import numbers | |
| def populate_sheet(json_data, ws): | |
| ws.cell(1,1, "Month") | |
| ws.cell(1,2, "food") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import openpyxl | |
| import json | |
| from openpyxl import Workbook | |
| from openpyxl.styles import numbers | |
| def populate_sheet(json_data, ws): | |
| ws.cell(1,1, "Month") | |
| ws.cell(1,2, "food") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import openpyxl | |
| import json | |
| from openpyxl import Workbook | |
| from openpyxl.styles import numbers | |
| header_dict = { "1": "Month", | |
| "2": "food", | |
| "3": "heating", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| import openpyxl | |
| import json | |
| from openpyxl import Workbook | |
| from openpyxl.styles import numbers | |
| from openpyxl.utils import get_column_letter | |
| header_dict = { "1": "Month", |