title: How do you find the number of columns in an Excel xlsx file per row with Python openpyxl?
body: <p>I was wondering if there is a way to determine the number of columns per row in Excel with Python. I know .max_row and .max_column show the maximum number of the respective fields. However, I need to pull the number of columns per row as they vary. The goal here is to create my own test program where all the Qs, As, and wrong As are in an excel spreadsheet and it is used as the database for the program. I'm not opposed to abandoning openpyxl if there is better tool.</p>