zsnmwyZ

```py import os import openpyxl from openpyxl.styles import NamedStyle from decimal import Decimal,

import os
import openpyxl
from openpyxl.styles import NamedStyle
from decimal import Decimal, ROUND_DOWN
import base64
import boto3
import io

def main(
    file_: bytes = bytes(0),
):
    
    file_name = 'file.xlsx'

    # write file from bytes
    with open(file_name, "wb") as f:
        f.write(file_)

    workbook = openpyxl.load_workbook(file_name)
Was this page helpful?