Files
aws-inventory/init_workbook.py
T

25 lines
430 B
Python
Executable File

#!/usr/bin/python3
r"""
Documentation
License: This program is released under the MIT License
"""
# Imports
from openpyxl import Workbook
from datetime import datetime
# Main function
def main() -> None:
wb = Workbook()
ws = wb.active
ws['A1'] = "AWS Inventory"
ws['A2'] = "Created on"
ws['B2'] = datetime.now()
wb.save('aws-inventory.xlsx')
# Call main function
if __name__ == '__main__':
main()