摘要:
在windows上使用subst和netuseCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->importosimportsubprocessdefRunCommand(cmd):returnsubprocess.call(cmd)defRunCommandWithOutput(cmd):p=subprocess.Popen(cmd,shell=True,universal_newlines=True,stdout=subprocess.PI 阅读全文
摘要:
一 简单使用 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->defTestLogBasic():importlogginglogging.basicConfig(filename='log.txt',filemode='a',level=logging.NOTSET,format='%(asctime)s-%(levelname)s:%(message)s')logging.debug( 阅读全文