To view a pdf file with wx.lib.pdfviewer.viewer.pdfViewer, you use:
what do you do if the pdf is in memory as the result of a a requests like:
I'm hoping there's a method for loading from memory
Does anyone know how this is done?
pdfV.viewer.LoadFile(r'a path to a .pdf file')that works well if the pdf happens to be a file on your computer.
what do you do if the pdf is in memory as the result of a a requests like:
doc = requests.get(url) if doc.status_code != 404: found_pdf = TrueIf necessary, I'll save it to a temp file, but
I'm hoping there's a method for loading from memory
Does anyone know how this is done?