Python pywin32模块实现自动打印 2024-05-15 Python 评论 import tempfile import win32api import win32print filename = tempfile.mktemp (".txt") open (filename, "w").write ("This is a test") win32api.Shell...