摘要: Check if program runs in Debug mode 用以下函数即可: def is_debug(): gettrace = getattr(sys, 'gettrace', None) if gettrace is None: return False elif gettrace 阅读全文
posted @ 2019-11-21 15:02 andy_0212 阅读(711) 评论(0) 推荐(0) 编辑