Skip to content

You can convert from a PDF to MP3 file using this python code

License

Notifications You must be signed in to change notification settings

IAmMaulik/Audiobook_Maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Audiobook Maker

Modules Used

  • It uses the gtts module for text to speech
  • It also uses the module PyPDF2 for parsing the pdf file

This program is easily scalable and can be used to read any type of files

Steps to use this program

  • Clone this repository on to your system in whichever way you prefer
  • Navigate to the Audiobook_Maker directory
  • Type these commands in your terminal
    pip install gtts
    pip install pypdf2
    
  • Place your PDF in the same directory and rename it to 'example.pdf'
  • Run the main.py and your audiobook will be saved as audiobok.mp3

Note

The pdf that I have used came from here