Skip to content

NilinR/TripPlanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

image

Trip Planner

Travel Management System built using Python's Tkinter and MySQL database

Table of contents

General info

Trip Planner is a Travel management system built with Python and MySQL as my final 12th grade Python project.

It provides functionalities to book a flight and hotel in one system making the travel booking process easier.

  • The system requires a login whos data is stored using python files,
  • GUI display and buttons using tkinter
  • and stores the full booking of flights using MySQL connect.

Working

Login
login

Sign Up has restraints for 10 digit contact number and verifies the reentered password.

It stores the username and password in files as nested lists : [[Username,Pass], [Nilin,Nil],]

When Loging in the username is searched for in the file and password is verified.

Finally the login sign is replaced by the username.

Book Flight
image
image

Enter date into a calander that is verified by current date

Flight distance save in mysql table accessed

Flight cost calculated using distance, avg cost and random module for increments

MySql also verified to make sure only 5 bookings at a time

(Gives fully booked error on 6 flight booked)

Displays a bill as well.

Hotel Booking
image

Takes only valid information from the user

Saves the information of those who booked a Executive Twin Room specially in a file

Displays a final bill

End Report
image

Takes values from the txt files generated by the flight window (no of people in each flight)

and from the hotel window (no of people who booked Executive Twin Room)

Technologies

  • Done in Python version 3
  • Tkinter GUI
  • Python + MySQL connector

Setup

The modules that are required are:

1. Requirements

  • a Laptop

  • Text Editor or IDE (I used IDLE)

2. Install Python modules

Libraries used:

  • tkinter

  • datetime

  • tkcalendar

  • math

  • random

  • mysql.connector

  • PIL

to install the libraries (math and random are default):

py -m pip install [options] [library] ...

Contact

Created by Nilin Rose [email protected]

Releases

No releases published

Packages

No packages published

Languages