Hello,
I would like to change a file extension from .zip to .pptx using a python tool in Alteryx.
i.e. "MODIFIED.zip" to "MODIFIED.pptx".

Here is the script:
from ayx import Alteryx
import os
from pathlib import Path
directory = ('C:/Temp/PowerPoint test/DELETE_modified/DELETE_original/')
for f in Path(directory).rglob('.zip'):
f.rename(directory + f.stem + '.pptx')The script runs successfully, but zip file stays the same.