Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Hi All, I'm trying to access a pptx file from a dataiku managed folder through python-pptx module within the python recipe. Below is the code I'm using -
from pptx import Presentation
handle = dataiku.Folder('folder_id')
paths = handle.list_paths_in_partition()
ppt = Presentation(paths)
However, I'm getting the below error in the last line -
PackageNotFoundError: Package not found at '/template.pptx'
How do I resolve this? What am I doing wrong here?
Post a Question