标签:lse except pre article title typeerror 应该 col try
import sys import math # 判断是否为浮点数 def isNum2(value): try: x = float(value) #此处更改想判断的类型 except TypeError: return False except ValueError: return False except Exception as e: return False else: return True
感谢来源
https://blog.csdn.net/u010299224/article/details/50787427
标签:lse except pre article title typeerror 应该 col try
原文地址:https://www.cnblogs.com/zwj-pot/p/9061804.html