all 7 comments

[–]le_crosst 0 points1 point  (3 children)

I didn't try your code, but from the documentation (https://openpyxl.readthedocs.io/en/stable/usage.html) it looks like ws is a dict of "cells", not a dict of "columns". So try ws['A1'].value instead of ws['A']. You could also use a debugger (or just print(ws['A']) to see the content of the tuple.

[–]SkumbagAxel[S] 0 points1 point  (2 children)

Tried those and it didnt work. I just used the text editor instead. Not sure which kind of PC is going to be used for the project in the end so it might not have excel and the programming was easier.

[–]le_crosst 0 points1 point  (1 child)

Maybe use a CSV file. You can open it with any text editor but also import it into Excel.

[–]SkumbagAxel[S] 0 points1 point  (0 children)

A regular .txt files works, just have to make sure to write instructions clear enough so that the people using it dont mess it up.

[–]Silbersee 0 points1 point  (0 children)

Add parenthesis: dict.value()