Hi there, I’m a beginner, I try to pass the input file for convert. officeToPdf method instead of a path with python. I see an example here Is that possible to pass input file for conversion as InputStream in Java but it’s java and c# but I’m doing it with python. Could you help me with an example with python?
- User upload an file Docx from web to server that build with flask API
- Get file from request
- Save it into disk server
- Convert this file to pdf by pass it’s path to convert. officeToPdf
Don’t need to save file to disk server, pass a file object to convert. officeToPdf