IPPRINT
IPPRINT
HARDWARES:
1. Desktop / Laptop
2. Mobile Phone
SOFTWARES:
1. Python (latest version)
2. MySQL
3. Python Connector Module
CONTENTS
S.No. Topic Page No.
1. Certificate…………………………………2
2. Acknowledgement………………………...3
4. Introduction………………………….……6
6. MySQL Database………………….……..22
7. Outputs……………………………….…..25
8. References…………………………….….30
INTRODUCTION
Add Train:
Administrators can add new trains to the system, specifying
crucial details such as train number, name, origin, destination,
journey distance, journey time, seat availability, and fares.
Update Train Details:
The system allows administrators to modify existing train
details, adapting to dynamic demands and operational
changes. This includes updating seat availability, journey
details, and fare information.
Cancel Train:
In response to operational constraints or changing demands,
administrators have the authority to cancel trains, ensuring
flexibility and adaptability in the system.
User Interaction:
User Login: The system provides a secure login interface for
registered users, requiring user ID and password for access.
Train Search: Users can search for trains based on origin and
destination, providing comprehensive details about available
trains, schedules, seat availability, and fares.
Book Tickets: The system facilitates the ticket booking
process, allowing users to select trains, classes, and
passengers for reservation.
Cancel Tickets: A streamlined process enables users to cancel
booked tickets, providing flexibility and convenience in
managing travel plans.
The new_user():
function employs a systematic approach to register new users,
generating a unique user ID and storing essential details in the
MySQL database.
Forgot User ID:
The `forgot_user_id()` function provides a mechanism for
users to retrieve their registered user IDs via email
verification, ensuring a smooth user experience.
Old User Authentication:
The `old_user()` function verifies user credentials, allowing
access to registered users and guiding them through the
system functionalities.