'Worksheet' object has no attribute 'append'
时间: 2023-08-22 10:07:01 浏览: 140
根据Worksheet制图-origin曲线拟合
在Python脚本中遇到AttributeError: 'NoneType' object has no attribute 'append'错误是因为你在尝试给一个空列表添加元素时使用了`.append()`方法的错误语法。正确的用法是直接使用`a.append(b)`而不是`a = a.append(b)`。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [python:python提示AttributeError: ‘NoneType‘ object has no attribute ‘append](https://blog.csdn.net/zhizhengguan/article/details/130127267)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [Python错误: AttributeError: ‘Worksheet‘ object has no attribute ‘set_column‘ 解决办法](https://blog.csdn.net/qq_39691492/article/details/119757362)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文