Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
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 -
import dataiku
from pptx import Presentation
handle = dataiku.Folder('folder_id')
paths = handle.list_paths_in_partition()
ppt = Presentation(paths[0])
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?