您可以使用方法
filter
str.isdigit
>>> int(filter(str.isdigit, str1))3158
上一篇 使用Selenium Python API绑定从Chrome获取console.log输出
下一篇 如何使用异步通信将表单数据发送到test.html?
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号