摘要:
首先安装mysql-connector模块: pip install mysql-connector 模块使用方式: # 引入模块 import mysql.connector; # 连接数据库 db = mysql.connector.connect( host = "localhost", us 阅读全文
摘要:
from win32com.client import constants, gencache def word2Pdf(wordPath, pdfPath): word = gencache.EnsureDispatch('Word.Application'); # office # word = 阅读全文