摘要:
1. 设置build system 环境 tool -> build system -> new build system ,粘贴以下代码并保存 //ctrl + B 执行程序//ctrl + shift + c 终止程序//ctrl + shift + P 加载控制台 2.为cancel buil 阅读全文
摘要:
方法一:readline函数 f = open("./code.txt") # 返回一个文件对象 line = f.readline() # 调用文件的 readline()方法 while line: print(line, end = '') # 在 Python 3中使用 line = f.r 阅读全文