keshun 当前离线
六级士官
import matplotlib.pyplot as plt def aa(): plt.figure(figsize=(50, 20), dpi=300) plt.savefig('1.jpg') plt.clf() ; plt.close('all') aa() input("关闭窗口")复制代码
http://www.bathome.net/thread-23875-1-1.html
if os.path.exists(r'empty.exe'): subprocess.Popen('empty *',stdout = subprocess.PIPE) else: print(' 内存清理失败!缺少[empty.exe]')复制代码
TOP