SPLView11.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:pythonista-scripts 作者: khilnani 项目源码 文件源码
def printLog():
   ### Pull the contents back into a string and close the stream
   global log_capture_string
   log_contents = log_capture_string.getvalue()
   log_capture_string.close()
   log_capture_string = StringIO()
   logger.handlers[0].stream=log_capture_string
   print(log_contents.lower())


## run a runction in an async thread.  better than ui.in_background for this application, because it is not queued up
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号