监控指定目录,当发现新图片文件立即打印并删除
用到模块 Pillow pypiwin32
其中图片打印代码来自 http://timgolden.me.uk/python/win32_how_do_i/print.html
没有判断文件是否图片文件
监控指定目录,当发现新图片文件立即打印并删除
用到模块 Pillow pypiwin32
其中图片打印代码来自 http://timgolden.me.uk/python/win32_how_do_i/print.html
没有判断文件是否图片文件