from PIL import Imageim = Image.open('autojump.png') im.show()
这样打开图片后,如何关闭?
参考:https://www.cnblogs.com/yuwentims/p/9593125.html fp = open(fullfilename,'rb') img = Image.open(fp) #这里改为文件句柄 fp.close()