Python-da bir nechta PPTX fayllaridan matnni olish uchun `python-pptx` kutubxonasidan foydalanish mumkin. Quyidagi skript `python-pptx` direktoriyasini aylanib, har bir PPTX faylidan matnni boshqa direktoriyadagi bir xil nomli matn fayllaridan olib chiqadi: ``python import os from pptx import Presentation # Input_dir = 'input_dir' output_dir = 'output_dir' # Input_dir for filename in os.dirlistinput_dir): if filename.endswithwith.pptx'): # prtload the PPTX file pr.presentation.os.path.joinput_with.pptx'): # Extract the PPTX file pr.extract the text of each slide_runs = [ for slide.s
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence