摘要: sys.stdout.write('\r'+str) sys.stdout.flush() time.sleep(1) 阅读全文
posted @ 2016-03-23 18:11 龟窝 阅读(1070) 评论(0) 推荐(0) 编辑
摘要: Python在往文件里写东西的时候,如果ascii码报错 参考 http://stackoverflow.com/questions/19833440/unicodeencodeerror-ascii-codec-cant-encode-character-u-xe9-in-position-7 Y 阅读全文
posted @ 2016-03-23 17:41 龟窝 阅读(1216) 评论(0) 推荐(0) 编辑