摘要:
打开文件、逐行处理、未完 #-*- coding: UTF-8 -*- f=open("08.log")i=1while i<200: lines=f.readlines(200) if not lines: break for line in lines: i= i+1 print(line) p 阅读全文
摘要:
1、SyntaxError: Missing parentheses in call to 'print'. Did you mean print(b)? 意识是: print 要带 () 2、IndentationError: unexpected indent 缩进错误 注意:python是一种 阅读全文