Is there a more pythonic way of converting excel-style columns to numbers (starting with 1)?
Working code up to two letters:
You could just add the following to the console after installing the openpyxl module:
import openpyxl
from openpyxl.utils import get_column_letter, column_index_from_string
workbook = openpyxl.load_workbook('your_workbook.xlsx')
sheet = wb.get_sheet_by_name('your_sheet_from_workbook')
print(get_column_letter(1))
print(column_index_from_string('A'))
Just change the letters and number to suit your needs or create a for-loop to do the job for a whole project. I hope this helps. Cheers.