我是获取的QD-开头的docx后缀的文件
import os
def print_qd_docx_files(folder_path):
for root, dirs, files in os.walk(folder_path):
for file in files:
if file.startswith('QD-') and file.endswith('.docx'):
print(os.path.join(root, file))
current_directory = os.getcwd()
print_qd_docx_files(current_directory)