摘要:
需要使用python-docx模块 pip install python-docx 然后函数主体 import os import docx2pdf def word_to_pdf(file_path): pdf_file = file_path.replace(".docx", ".pdf") d 阅读全文
posted @ 2023-02-02 00:03
无恙大势
阅读(1400)
评论(0)
推荐(0)
摘要:
import requests def post_data(url, data, count): for i in range(count): response = requests.post(url, data=data) print(f"POST request {i + 1} returned 阅读全文
posted @ 2023-02-02 00:00
无恙大势
阅读(39)
评论(0)
推荐(0)

浙公网安备 33010602011771号