A modern Bank Management System built using Python and MySQL.
It provides a clean UI and essential banking operations like account creation, deposit, withdraw, delete, and data export.
- π¨ Modern CustomTkinter UI
- β Create new accounts
- π Display customer details
- π° Deposit & Withdraw
- β Delete accounts
- π€ Export data to CSV
- ποΈ MySQL database integration
β οΈ Error handling & confirmation dialogs
- Language: Python 3, MySql
- Library: Tkinter(built-in), Customtkinter, Random, CSV
- Connectivity: mysql.connector
π Bank-Management-System(with UI)/
β£ π main.py # Main app file
β£ π README.md # Project readme (this file)
β£ π· screenshot.png # UI image
β π bank_backup.csv # Exported backup
Install dependencies:
pip install customtkinter mysql-connector-python
ποΈ MySQL Setup Start your MySQL server.
Create a database:
CREATE DATABASE bank;
Create a table:
CREATE TABLE customers (
account_no INT PRIMARY KEY,
name VARCHAR(255),
balance INT,
gender VARCHAR(20),
city VARCHAR(255)
);
Update your MySQL connection details in the Python file:
mycon = mysql.connector.connect(
host="localhost",
user="root", # change to your username
passwd="password", # your MySQL password
database="bank"
)
-
Make sure Python is installed on your system.`
-
Navigate to the project folder and run:
cd Bank-Management-System(with UI)
python main.py
π€ Contributing Pull requests, issues, or suggestions are welcome.
π License This project is open-source and free to use.
