摘要: import threading import inspect import ctypes def _async_raise(tid, exctype): """raises the exception, performs cleanup if needed""" if not inspect.is 阅读全文
posted @ 2021-03-13 16:40 小毛编 阅读(362) 评论(0) 推荐(0) 编辑
摘要: ValueError: substring not found还以为是代码出了问题,最后查阅文档: “Python index() rindex() 方法检测字符串中是否包含子字符串 str ,如果指定 beg(开始) 和 end(结束) 范围,则检查是否包含在指定范围内,该方法与 python f 阅读全文
posted @ 2021-03-13 15:46 小毛编 阅读(12086) 评论(0) 推荐(1) 编辑