首页 > 解决方案 > 如何在python中检查汤的类型

问题描述

这是我的代码

soup.find("class":"gtx")

如何在 python 中检查这种汤的类型?

标签: pythonbeautifulsoup

解决方案


首先创建一个变量。

ty= soup.find("class":"gtx")

print(type(ty)) 

推荐阅读