Skip to content

scottgriv/python-pdf_to_audio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Python Badge
GitHub Badge Email Badge BuyMeACoffee Badge
Bronze


Python PDF File to Audio File

A simple Python script that converts PDF files to audio files.


Table of Contents

Getting Started

  1. Clone this repository.
  2. Install Python.
  3. Install Pip.
  4. Install pip install pyttsx3 and pip install PyPDF2 in your terminal.
  5. Add your PDF file input and audio file output locations to the main.py file here:
# Define Input and Output File Locations
input_file = 'pdf_Sample.pdf'
output_file = 'pdf_Sample.aiff'
  1. Run the script: python main.py
  2. Your text based PDF file will be converted to an audio file.

Resources

License

This project is released under the terms of The Unlicense, which allows you to use, modify, and distribute the code as you see fit.

  • The Unlicense removes traditional copyright restrictions, giving you the freedom to use the code in any way you choose.
  • For more details, see the LICENSE file in this repository.

Credits

Author: Scott Grivner
Email: scott.grivner@gmail.com
Website: scottgrivner.dev
Reference: Main Branch


Releases

No releases published

Packages

No packages published

Languages