Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

python pdf extract demo code fail if i put extract.py in disk D:

New Here ,
Jan 03, 2024 Jan 03, 2024

follows steps described in https://developer.adobe.com/document-services/docs/overview/pdf-extract-api/quickstarts/python/ 

however, all resources and project are stored in disk D: rather than C:

When run sample code "python extract.py"

jun34583906jgtu_0-1704338563086.pngexpand image

 

Please update the library code accordingly.

file_ref_impl.ref, line 48, change

os.renanme(self._file_path, abs_path)    to 

shutil.move(self._file_path, abs_path)

Thanks.

 

168
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources