Specifying a column by letter can be tricky to program, especially because after column Z, the columns start by using two letters: AA, AB, AC, and so on. As an alternative, you can also get a cell using the sheet’s cell()
method and passing integers for its row
and column
keyword arguments. The first row or column integer is 1
, not 0
. Continue the interactive shell example by entering the following:
import
statement.)Here’s an example that creates a new workbook and sets cell A1 to have a 24-point, italicized font. Enter the following into the interactive shell:
shows the possible keyword arguments for theFont()
function.