10 Fun and Creative Python Automation Scripts to Try! 🚀
Try these 10 fun and creative Python automation scripts to save time and boost productivity!

Automate the boring stuff in style!
10 Fun and Creative Python Automation Scripts to Try! 🚀
Python is an incredibly powerful language for automating repetitive tasks.
Whether you want to save time, impress your friends, or just have fun, automation can make your life easier.
In this article, I’ll share 10 fun and creative Python automation scripts that you can try right now!
1. Automate Sending Emails
Want to send emails automatically? Use smtplib to send messages from your Gmail account.
import smtplib
sender_email = "your_email@gmail.com"
receiver_email = "friend@example.com"
password = "your_app_password"
message = """Subject: Hello from Python!
Hi there! This email was sent using Python automation! 🚀"""
with smtplib.SMTP("smtp.gmail.com", 587) as server:
server.starttls()
server.login(sender_email, password)
server.sendmail(sender_email, receiver_email, message)
print("Email sent successfully!")
You can send automated reminders, reports, or notifications.
2. Convert Text to Speech with AI
Want your Python script to talk? Use pyttsx3 for text-to-speech conversion.
import pyttsx3
engine = pyttsx3.init()
engine.say("Hello! I am your Python assistant.")
engine.runAndWait()
You can build a talking assistant or read long articles aloud.
3. Automate WhatsApp Messages
Surprise your friends by sending scheduled WhatsApp messages using pywhatkit.
import pywhatkit
pywhatkit.sendwhatmsg("+1234567890", "Hello! This is an automated message.", 15, 30)
You can use this script to schedule birthday wishes or important reminders.
4. Download YouTube Videos
Save YouTube videos to your computer using pytube.
from pytube import YouTube
url = "https://www.youtube.com/watch?v=your_video_id"
video = YouTube(url)
video.streams.get_highest_resolution().download()
print("Download complete! âś…")
You can save your favorite videos for offline viewing.
5. Automate File Sorting
Messy desktop? This script organizes your files into folders automatically.
import os
import shutil
downloads_folder = "/Users/yourname/Downloads"
file_types = {
"Images": [".png", ".jpg", ".jpeg", ".gif"],
"Documents": [".pdf", ".docx", ".txt"],
"Videos": [".mp4", ".avi"],
}
for file in os.listdir(downloads_folder):
file_path = os.path.join(downloads_folder, file)
for folder, extensions in file_types.items():
if file.endswith(tuple(extensions)):
folder_path = os.path.join(downloads_folder, folder)
os.makedirs(folder_path, exist_ok=True)
shutil.move(file_path, folder_path)
print("Files sorted successfully! đź“‚")
You can keep your desktop and downloads folder organized.
6. Get Real-Time Weather Updates
Use requests to fetch live weather updates for any city.
import requests
city = "London"
api_key = "your_openweathermap_api_key"
url = f"http://api.openweathermap.org/data/2.5/weather?q={city}&appid={api_key}&units=metric"
response = requests.get(url).json()
temperature = response["main"]["temp"]
print(f"The current temperature in {city} is {temperature}°C. 🌡️")
You can get real-time weather updates for your city.
7. Automate Instagram Likes
Use instabot to like Instagram posts automatically.
from instabot import Bot
bot = Bot()
bot.login(username="your_username", password="your_password")
bot.like_user("friend_username", amount=5)
You can use this script to automate engagement on Instagram.
8. Create Your Own QR Code Generator
Generate QR codes for websites, messages, or WiFi credentials using qrcode.
import qrcode
data = "https://www.yourwebsite.com"
qr = qrcode.make(data)
qr.save("qrcode.png")
print("QR Code generated successfully! âś…")
You can create QR codes for business cards, WiFi access, or promotions.
9. Track Cryptocurrency Prices in Real-Time
Use requests to get live crypto prices from CoinGecko.
import requests
crypto = "bitcoin"
url = f"https://api.coingecko.com/api/v3/simple/price?ids={crypto}&vs_currencies=usd"
response = requests.get(url).json()
price = response[crypto]["usd"]
print(f"The current price of {crypto} is ${price}. 🚀")
You can keep track of cryptocurrency prices for trading.
10. Automate Google Search
Search Google directly from your Python script using googlesearch-python.
from googlesearch import search
query = "Best Python automation scripts"
for result in search(query, num=5, stop=5, pause=2):
print(result)
You can automate Google searches and scrape information.
Conclusion: Automate Your Life with Python!
Python automation is both fun and powerful! Whether you want to save time, increase productivity, or build cool projects, these scripts are a great way to start.
Which automation script are you most excited to try? Let me know in the comments! 👇
