Car Rental System - README Project Overview The Car Rental System is a Python-based desktop application built using the Tkinter library for the graphical user interface (GUI). The system allows administrators to manage a fleet of cars and customers to rent available cars. It keeps track of rental history, rental amounts, and the availability of cars, providing a simple yet efficient solution for car rental management.
Features Admin Features: Login: Admin can log in with a username and password. Add Car: Admin can add new cars to the system by providing details like the model, year, and color. Update Car: Admin can update the model of an existing car. View Rented Cars: Admin can view all currently rented cars. Logout: Admin can safely log out from the system.
Customer Features: Register: New customers can register with a username and password.
Login: Customers can log in using their credentials. Rent a Car: Customers can search for available cars and rent them by specifying a rental amount. Return a Car: Customers can return rented cars to make them available for others. View Rental History: Customers can view their rental history, including dates and rental amounts. Logout: Customers can safely log out from the system.
Technologies Used: Python: The programming language used for the back-end logic. Tkinter: Python’s standard GUI library used to build the application interface. datetime: Used for capturing rental dates and times.
How to Run the Project
- Ensure you have Python installed on your system.
- Install the required dependencies by running:
- Clone the repository or download the source code.
- Navigate to the project directory and run the following command:
- The Car Rental System GUI will launch.
SCREENSHOTS (How it runs):
• Initial GUI :

• Customer Login:
• Customer Register:
Usage Instructions: Admin Access: The default admin credentials are: Username: admin1 Password: admin123
Customer Access: A default customer is pre-registered: Username: cust1 Password: cust123
After logging in, use the available buttons to perform actions like renting a car, returning it, or viewing the rental history.
Project Structure: Car Class: Represents each car with details like model, year, and color. Customer Class: Handles customer functionalities like renting and returning cars. Admin Class: Admins manage car information within the system. CarRentalSystem Class: Central system managing all admins, customers, and cars. RentalHistory Class: Logs the rental history with rental dates and amounts. CarRentalApp Class: Handles the Tkinter GUI, allowing user interactions with the system.
Future Enhancements Payment Integration: Add payment gateway for online transactions. Car Availability Filters: Enhance the car search feature with filters (e.g., by year, model, or rental price). Extended Reporting: Provide detailed reports for admins on rental trends and earnings.
License This project is open-source and available under the MIT License.






