The parking Lot System project is written in Python. The project file contains a python script (parking_lot.py). The program allows a user to enter their vehicle’s type and license plate number. The system shows a parking grid that allows the user to see the number of available spaces as well as what types of vehicles are currently parked within the lot. The system also tracks a user’s time within the lot and will calculate a fare when the user checks out their vehicle.
About Parking Lot System In Python :
While parking a vehicle, the user has to specify their vehicle’s type (Car, Truck, or Motorcycle) and the vehicle’s plate number. This program accepts any valid string as a plate number. The program also checks for duplicate plate numbers and does not let the system add duplicate ones. After successfully adding, the system shows the entry time for two seconds, then the system returns to the main menu. If adding is unsuccessful, the system shows an error then returns to the main menu.
At any point, the user can view the information of any vehicle currently stored within the lot. Selecting a valid row and space will return the vehicle’s type, plate number, and date/time of entry. Similarly, when leaving the lot, the user has to specify the row and space of the vehicle they want to remove. If space selection is valid, the vehicle will be removed from the space. The program will calculate a user’s fare based on how many hours were spent in the lot.
How to run Parking Lot System In Python ?
In order to run the project, you must have installed Python, on your PC. This is a simple Console Based system, specially written for beginners. Parking Lot System in Python project with source code is free to download. Use for educational purposes only!
Features Parking Lot System In Python :
- Park a vehicle
- Leave the parking
- View the parked vehicle
- Display Vehicle rates