AUTOMATION SCRIPTS YOU NEED TO TRY — PART 1
10 Really Helpful Automation Scripts You Need To Try Using Python
Python’s Second Name is Automation
Every day after waking up there are plenty of repeated tasks that you might do like opening certain files, sending emails, etc. With automation, there is no need to do these tasks again and again manually. Automation is the process of reducing human intervention in different tasks. Python is a great choice of programming language for automation. It has simple syntax, a vast amount of packages, and code-reducing functionality. In this blog, we are going to take a look at 10 really helpful automation scripts that you need to try using python.
1. Converting PDF To Audio Files
This automation task is one of my favorites. I use it almost every day. Here our task is to write a python script that can convert pdfs into audio files.
Libraries:-
PyPDF, is a library in python that is used to read text from a pdf file.
Pyttsx3, is a text-to-speech convert library.
Process:- We first use the PyPDF library to read text from the pdf file and then we convert the text into speech and save it as an audio file.