'list' object has no attribute class
时间: 2023-09-29 08:03:24 浏览: 91
"list" object has no attribute 'class' 这个错误通常是因为使用了一个列表对象,并尝试访问它没有的属性"class"。列表对象是Python中一个常见的数据结构,用于存储多个元素。列表对象没有"class"属性,因为它不是一个类或对象。要解决这个问题,你需要检查你的代码,确保你正在正确地使用列表对象。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [AttributeError:‘list‘ object has no attribute ‘statement‘ & ‘list‘ object has no attribute ...](https://blog.csdn.net/jiawen2012/article/details/116462738)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [浅谈python 中的 type(), dtype(), astype()的区别](https://download.csdn.net/download/weixin_38689338/13736083)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [selenium python send_key error: list object has no attribute](https://blog.csdn.net/Dbao_miao/article/details/118276712)[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^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文