# -*- coding: utf-8 -*-
# windows下用python3和win32print获取本地打印机名称列表
# win32print pyton3自带,无需另外安装
import win32print
for it in win32print.EnumPrinters(2):
print(it[2])
# -*- coding: utf-8 -*-
# windows下用python3和win32print获取本地打印机名称列表
# win32print pyton3自带,无需另外安装
import win32print
for it in win32print.EnumPrinters(2):
print(it[2])
本文标题:windows下用python3和win32print获取本地打
本文链接:https://www.haomeiwen.com/subject/tbqjpctx.html
网友评论