How to use openpyxl.cell.cell.Cell
Created originally on Bitbucket by ewin09
I try to fill value in a cell by two ways.
code 1 as follows:
cell = sheet.cell(row=1,column=1,value='python')
It works and sheet['A0'] is fiiled with ‘python'.
Class openpyxl.cell.cell.Cell was used in code 2:
cell = openpyxl.cell.cell.Cell(sheet,row=1,column=1,value='python')
But sheet['A0'] wasn’t changed,it seems that code 2 doesn’t work.
So what the difference between two kinds of method above?
A newbie to openpyxl wish your help!