Giter VIP home page Giter VIP logo

online-railway-reservation-system's Introduction

Online-Railway-Reservation-System

This is a menu driven Railway Reservation Project which is mainly based on the python-mysql connectivity.

The project contains three python files.(The order in which they will be executed) 1.Database Creation.py 2.Table Creation.py 3.Online Railway Reservation Program.py

Software Requirements: 1.Python IDLE 2.MySQL

Connect mysql with python before running this program. Check by executing the command -( import mysql.connector ) in python IDLE. If the command gives error, you will have to connect mysql with python.Otherwise you are good to go. To connect mysql with python, type pip install mysql-connector-python in command prompt.

Files Description:

  1. Database Creation.py This python file contains the program to create the database.The user defined function database() contains the code to create the database in mysql.User will be asked to enter the host type, user name and password which he/she has setup for mysql. This file needs to be executed just once to create the database.

  2. Table Creation.py This python file contains the program to create the tables that will be required in the main program. Remember to create the database by executing the Database Creation.py file before executing this file. Table Creation.py contains the user defined function table that contains the code to create two tables railway and useraccount that will be used in the main program to store user's data.User will be asked to enter the host type, user name, password and database name (name of the database he/she created using Database Creation.py). This file also needs to be executed just once to create tables after executing the Database Creation.py .

  3. Online Railway Reservation Program.py This python file is the main program that will perform the functions like sign in , sign up, delete account, user details, train ticket booking, train ticket checking and train ticket cancelling.Remember to execute the Table Creation.py to create the tables which will be used in this python file before executing it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.