NameError name workbook is not defined
This error message typically means that there is no variable or object named "workbook" defined in the current context or scope.
To resolve this error, you will need to define the variable or object named "workbook" before attempting to use it in your code. This may involve importing a module that defines the "workbook" object, or creating a new instance of the object using a constructor or factory method.
Alternatively, you may have misspelled the name of the object, in which case correcting the spelling should resolve the error.
原文地址: https://www.cveoy.top/t/topic/br9E 著作权归作者所有。请勿转载和采集!