2019年10月9日

摘要: import matplotlibmatplotlib.use("Agg")import matplotlib.pyplot as pltx=range(10)y=[i*i for i in x]plt.plot(x,y)plt.savefig("1.png")plt.show() 阅读全文
posted @ 2019-10-09 11:13 happygril3 阅读(118) 评论(0) 推荐(0)
摘要: 0 标准输入 1--标准输出 2 标准错误输出 test.py文件 print("111111111111111111") print("222222222222222222") with open("data/result/test.txt","w") as f: f.write("hello") 阅读全文
posted @ 2019-10-09 10:31 happygril3 阅读(196) 评论(0) 推荐(0)

导航