1 import urllib 2 import time 3 import oss2 4 import os 5 import random 6 from pathlib import Path 7 import requests 8 import datetime 9 from decouple import config 10 11 from urllib.parse import unquote 12 13 14 # 标签:python,OSS,bucket,Teams,url,import,path,config,image From: https://www.cnblogs.com/kaka0318/p/17650883.html