Automation is the process of using software bots to handle repetitive tasks, making life easier by saving time⏳, reducing errors ❌, and improving efficiency ⚡. It can be used in various fields, such as web automation, email handling, data extraction, and file management.
This repo contains real-world automation tasks, so you can learn, practice, and master automation! 🔥
BotsDNA is a platform that provides hands-on automation tasks to help developers improve their skills.
Here, you'll find scripts for various automation challenges, including:
✅ File Handling 📂
- Creating PDFs and writing into them 📝
- Reading/Writing Excel files 📊
✅ Web Automation 🌍
- Automating website interactions using bots 🤖
- Uploading/downloading files 📤📥
- Searching Google automatically 🔍
✅ Email Automation 📧
- Sending & receiving emails 📬
✅ Data Handling 📜
- Extracting unstructured data 🕵️
- Scraping information from websites 🌐
First, install the necessary Python packages using:
pip install rpaframework openpyxl python-dotenv python-docx docx2pdf PyPDF2
This will install:
RPA.Browser.Selenium
→ Web automationRPA.Email.ImapSmtp
→ Email handlingopenpyxl
→ Excel file operationsdotenv
→ Secure credentials handlingpython-docx
→ For creating and modifying Word documentsdocx2pdf
→ For converting Word files into PDFPyPDF2
→ For reading PDFs
.env
file.
In the project folder, create a new file named .env
and add:
EMAIL_USER=your-email@gmail.com
EMAIL_PASS=your-secure-password
(just for reference, code is already there where required 😉) Use the following Python code to safely read credentials:
from dotenv import load_dotenv
import os
load_dotenv()
email = os.getenv("EMAIL_USER")
password = os.getenv("EMAIL_PASS")
📌 Make sure to add .env
to .gitignore
so it doesn’t get uploaded to GitHub!
Simply run any Python script from the respective task folder:
python your_script.py
Each subfolder contains a different automation task, and you can modify them as needed!
If you have new automation ideas, feel free to fork & contribute! 💡✨
📩 Have questions? Open an issue or reach out! 🤗
Hope you enjoy automating! 💻⚡ Let’s build smarter workflows together! 🚀