A small GUI utility to merge, clean and generate PDF reports from Excel/CSV files ππ
Excel / CSV Automation Tool v1.0
π§° Built with Python & CustomTkinter
- π Merge multiple Excel/CSV files (adds
Source_Filecolumn) - π§Ή Clean data (trim whitespace, coerce numeric columns)
- π Remove duplicates and produce smart summaries
- π Generate beautiful charts (bar charts, value distributions)
- π¨οΈ PDF report generation with statistics and visualizations
- π₯οΈ Intuitive GUI built with
customtkinter - β‘ Real-time progress tracking with visual feedback
- π Organized output in timestamped folders
π Quick Start
- Install dependencies:
pip install -r requirements.txtOption 1: Direct Python (Always Works) π
python app.pyOption 2: Batch File Launcher π¨
Excel-CSV-Tool.batOption 3: Desktop Shortcut π±οΈ (Recommended)
- Look for
Excel-CSV-Tool.lnkon your Desktop - Double-click to launch instantly!
Copy and paste this in PowerShell:
$DesktopPath = [Environment]::GetFolderPath('Desktop')
$WshShell = New-Object -ComObject WScript.Shell
$Shortcut = $WshShell.CreateShortcut("$DesktopPath\Excel-CSV-Tool.lnk")
$Shortcut.TargetPath = "C:\Users\***\AppData\Local\Programs\Python\Python311\python.exe"
$Shortcut.Arguments = "`"c:\Users\***\OneDrive\Desktop\working projects by me\Excel csv work\app.py`""
$Shortcut.WorkingDirectory = "c:\Users\***\OneDrive\Desktop\***\Excel csv work"
$Shortcut.IconLocation = "C:\Users\***\AppData\Local\Programs\Python\Python311\python.exe,0"
$Shortcut.Save()
Write-Host "β
Desktop shortcut created successfully!"- Right-click on your Desktop β New β Shortcut
- Paste this in the location field:
C:\Users\kadam\AppData\Local\Programs\Python\Python311\python.exe "c:\Users\kadam\OneDrive\Desktop\working projects by me\Excel csv work\app.py" - Click Next β‘οΈ
- Name it:
Excel-CSV-Toolπ - Click Finish β
- (Optional) Right-click shortcut β Properties β Advanced β Check Run as administrator (if needed)
Already created for you: Excel-CSV-Tool.bat
- Right-click β Send to β Desktop (create shortcut)
- Or just double-click the
.batfile to run immediately!
| π‘ Tip | Details |
|---|---|
| Pin to Taskbar | Right-click shortcut β Pin to Taskbar for quick access |
| Change Icon | Right-click β Properties β Change Icon (choose an icon from python.exe or custom .ico) |
| Run Minimized Console | Right-click β Properties β Advanced β Check "Run with reduced window" |
| Keyboard Shortcut | Right-click β Properties β Shortcut tab β Shortcut key (e.g., Ctrl+Alt+E) |
- Select Files π β Choose your Excel/CSV files
- Process βοΈ β Data gets cleaned & merged
- Review π β See previews in real-time
- Generate Reports π β Automatic PDF + Excel exports
The app creates an output/ folder with timestamped subfolders for each run.
| β Issue | β Solution |
|---|---|
customtkinter import error |
Run: pip install customtkinter |
| Excel file won't open | Install: pip install openpyxl xlrd |
| PDF generation fails | Install: pip install fpdf2 |
| Shortcut won't work | Check Python path: python --version in PowerShell |
| "No readable data found" | Ensure files have proper headers and data |
| Charts not displaying | Install: pip install matplotlib pillow |
All required packages are in requirements.txt:
pandas # π Data manipulation
matplotlib # π Chart generation
fpdf2 # π¨οΈ PDF creation
customtkinter # π₯οΈ GUI framework
openpyxl # π Excel support
xlrd # π Legacy Excel reader
Pillow # πΌοΈ Image handling
Install all at once:
pip install -r requirements.txtThis project is licensed under Creative Commons Attribution-NonCommercial 4.0 (CC BY-NC 4.0) π
- β You can: Use, modify, and redistribute for personal/educational purposes
- β You cannot: Use for commercial purposes without permission
- π You must: Give appropriate credit to the original author
See embedded license in app.py for full details.
| Command | Purpose |
|---|---|
python app.py |
π Launch the GUI |
Excel-CSV-Tool.bat |
π¨ Quick launcher (no terminal) |
Double-click Excel-CSV-Tool.lnk |
π±οΈ Desktop shortcut launch |
pip install -r requirements.txt |
π¦ Install dependencies |
πΉ Batch Processing: Select multiple CSV/Excel files at once for faster merging
πΉ Large Files: The tool handles thousands of rows efficiently
πΉ Custom Output: All reports are saved in organized timestamped folders
πΉ Reuse Sessions: Previous runs are accessible in the output/ folder
πΉ Keyboard Shortcuts: Set one up for lightning-fast access!
Created by Amit Kadam π―
Enjoy automating your data workflows! πβ¨