Skip to content

vitalikmag/pdf_to_mp3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

pdf_to_mp3

This script converts a PDF file to an MP3 audio file using Google Text-to-Speech (gTTS) and pdfplumber libraries. The user can choose the language of the output audio file, and the script will save the converted audio file in the same directory as the original PDF file with the same name.

Installation

• Clone or download this repository.

• Install the required libraries.

Usage

• Run the script.

• Enter the file path of the PDF file you want to convert and choose the language of the output audio file when prompted.

• The converted MP3 file will be saved in the same directory as the original PDF file with the same name.

Note: The script only works with PDF files. If the specified file is not a PDF or doesn't exist, the script will return an error message.

About

Voice your pdf file❗ 🎶🎶

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages