I attached a workflow that uses your example to create an Excel file via Python. And also one from the example from before. I think you have to provide the Python Script with a valid path (in this case I used the path of the workflow) and you have to close the file at the end.
This is pretty good! Thank you so much for your example.
Based on this, is it possible to add the drop down list in an Excel file that already exists? For example, an Excel file that comes from another workflow and the final step for having it finished is to add this drop down list at the entire column B.