Hi,
Thank you for this code,
but I am stuck when I want to run print(pages), it shows the following in my terminal:
Traceback (most recent call last):
File "P:\Python Projects\AudioBook\main.py", line 3, in
book = open("RichDadVsPoorDad.pdf")
FileNotFoundError: [Errno 2] No such file or directory: 'RichDadVsPoorDad.pdf'
Oh, just solved it. Thank you. it was surely reading another directory instead of looking for my File in "P:\Python Projects\AudioBook\main.py", since I had another project open :( :).
Hi, Thank you for this code, but I am stuck when I want to run print(pages), it shows the following in my terminal: Traceback (most recent call last): File "P:\Python Projects\AudioBook\main.py", line 3, in
book = open("RichDadVsPoorDad.pdf")
FileNotFoundError: [Errno 2] No such file or directory: 'RichDadVsPoorDad.pdf'
PS: I am using Atom as IDE