Skip to content

AshuSaini001/Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Seat Occupancy Management System

This Python project provides a simple console-based seat management system. It allows users to view, update, and track seat occupancy using a text file as the data source.

Project Structure seat.txt: Stores seat data in a matrix format (0 = vacant, 1 = occupied).

main.py: Core script to run the seat management system.

Features:- Load & Save Seats: Reads and writes seat data from/to a text file.

Visual Seat Map: Displays seats using 🟩 for vacant and 🟥 for occupied.

Update Seat Status: Allows marking seats as occupied or vacant.

Seat Count: Shows total occupied and vacant seats. Input Validation: Ensures seat positions are within valid range.

Technologies Used:- Python 3.x

Standard libraries: open, input, print, map, list

How to Run:- Ensure seat.txt exists in the specified path with seat data (e.g., 0 1 0 0).

Run the script: Seat Mapping.py

If you want to change the seats then make changes in seat.txt.

Author Ashu MCA Student | Python Developer | Data Enthusiast

About

1st Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages