9 Python Automation Ideas For Pythonistas

Hello, buddies! Did you know Python is known as an all-rounder programming language?

Yes, it is, though it shouldn’t be used on every single project.

We can use it to create desktop applications, games, mobile apps, websites, and system software. It is one of the most suitable language for Automation. But what to Automate? So, today we are going to see what to automate using Python. Simply, Python automation ideas 😊

1. Automate The Login Process For Sites

Check out this article by @Sai Ashish Konchada, where he shows how to automate Facebook login using Python.

2. Desktop Automation (Voice Assistant)

Luckily, I have 2 articles for you. Check'em out!

3. Email Automation

4. Automatic Desktop Cleaner

I like to keep my desktop clean always. I don’t like seeing a desktop with a lot of junk and useless files. If you are someone who likes to keep your desktop in an arranged manner, you can definitely consider doing this automation project.

The automatic desktop cleaner is going to be a project that can help you arrange various files and folders on your computer and also remove junk files.

Some of the functionalities of this desktop cleaner include tasks like automatic shifting of downloaded files to appropriate folders, file organization based on required criteria, and arrangement of files based on different types.

If you like to automate the process of cleaning your desktop, check out this video for more information.

5. SMS Automation

6. Instagram Automation

In this project, we try to automate Instagram activities like photo uploading, following and unfollowing users, commenting etc. Instabot is used here to interact with Instagram.

The same procedure can be applied to automate other social media activities too. For more information, go through this article by @Ayushi Rawat.

7. Audiobooks

It's pretty simple, Use the following code.

import pyttsx3
import PyPDF2

book = open('mybook.pdf',' rb') # Add path
pdf_reader = PyPDF2.PdfFileReader(book)
num_pages = pdf_reader.numPages
play = pyttsx3.init()
print('Playing Audio Book')

for num in range(0, num_pages): #iterating through all pages
    page = pdf_reader.getPage(num)
    data = page.extractText()  #extracting text

    play.say(data)
    play.runAndWait()

8. Morning Web Automation

Every day when we start our work, we usually open a few common websites like StackOverflow, documentation of the library, Spotify, and youtube.

We can use the web browser module and bash scripting to automate the web. Just write a simple script that opens multiple websites at a time. Next, use the bash and VBS script to run the script without a console with a single click.

Opening tabs are simply as follows,

import webbrowser

 webbrowser.open("stackoverflow.com")
 webbrowser.open("hashnode.com")
 webbrowser.open("reddit.com")

9. Automatic Time Tracking Tool

The aim of this project is to automatically track the current website or application in use and also the time spent on these sites and applications. Using a JSON file, the data will be saved so that it can be used later as and when needed.

We can specifically mention tracking usage of certain apps or sites that you overuse. This project can be pretty useful in analyzing your social media usage and control it if you wish to do so.

So buddies, that's it! Hope you enjoyed it. Reading is not enough, you have to use them 😎 Happy Coding!

17