openpyxl write in cell

import openpyxl
wb = load_workbook(filename='xxxx.xlsx')
ws = wb.worksheets[0]
ws['A1'] = 1
ws.cell(row=2, column=2).value = 2
ws.cell(coordinate="C3").value = 3  # 'coordinate=' is optional here

Here is what the above code is Doing:
1. Load the workbook
2. Load the first worksheet
3. Set the value of cell A1 to 1
4. Set the value of cell B2 to 2
5. Set the value of cell C3 to 3