This Python code is a reservation system designed for both seat reservations on flights and cargo services offered by an airline. It allows users to reserve seats on domestic and international flights, providing options for payment through various methods like debit/credit cards or net banking. Additionally, it offers cargo services for sending packages to different destinations.
-
Run the main.py file: Execute the main.py file in a Python environment to start the reservation system.
-
Select Reservation Type:
- Choose between domestic and international flights.
- Enter the date of the journey in the format (DDMMYY).
-
Select Source and Destination:
- For domestic flights, choose between Karachi, Lahore, Islamabad, and KPK.
- For international flights, choose between Dubai, Singapore, London, and New York.
-
View Available Flights:
- The system will display available flights based on the selected source and destination.
-
Choose Flight and Category:
- Select a flight from the available options.
- Choose the category of the flight (e.g., Refundable).
-
Enter Passenger Details:
- Provide passenger information such as name, gender, age, email, and contact number.
-
Select Payment Method:
- Choose from options like debit card, credit card, or net banking.
- Enter payment details accordingly.
-
Confirm Reservation:
- Review the details entered and confirm the reservation.
-
Cancel Reservation:
- If needed, cancel a reservation by providing the PNR (Passenger Name Record) number.
-
Cargo Services:
- Utilize the cargo services by entering the required details like name, PNR, destination, and type of package (e.g., luggage, car, mail).
- Seat Reservation: Allows users to book seats on flights, providing flexibility in selecting flights, categories, and payment methods.
- Cancellation: Offers the option to cancel reservations using the PNR number.
- Cargo Services: Provides cargo services for sending packages to specified destinations, with options for different types of packages.
- The code is designed to handle both domestic and international flight reservations.
- It ensures user input validation and provides appropriate error messages for invalid inputs.
- The reservation system offers a user-friendly interface for easy navigation and booking.
- The code is written in Python and does not require any external libraries or dependencies.
For any inquiries or assistance, please contact [email protected]