You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-### A "Indian Trains Details" is an application created in python with tkinter gui.
3
+
-### In this application, user can get the information about how many trains are there in India with given Train Name.
4
+
-### Along with that, this scripts also gives us details about Train No., Starting Junction and Ending Junction of each train with same Train Name.
5
+
-### for the data, used the All_Indian_Trains.csv data, and read using pandas library.
6
+
7
+
****
8
+
9
+
# REQUIREMENTS :
10
+
-### python 3
11
+
-### tkinter module
12
+
-### from tkinter messagebox module
13
+
-### pandas
14
+
15
+
****
16
+
17
+
# How this Script works :
18
+
-### User just need to download the file and run the all_indian_trains.py on their local system.
19
+
-### Now on the main window of the application the user needs to select the name of Train from the drop down OptionMenu.
20
+
-### After user has chosen the name of Train, when user clicks on the TRAIN button, he/she will be able to see the details like, how many trains are there with that name, and for each of those train, the details about Train No., Starting Junction and Ending Junction are also provided.
21
+
-### Also there is a ABOUT button, clicking on which user can see about history of indian Railway.
22
+
-### Also there is a RESET button, clicking on which user can resets both the Option Menu to default element name "Indian Institute of Technology Madras".
23
+
-### Also there is an EXIT button, clicking on which exit dialog box appears asking for the permission of the user for closing the window.
24
+
25
+
# Purpose :
26
+
-### This scripts helps us to easily get the details about Train No., Starting Junction and Ending Junction of all the train with selected Train Name.
27
+
28
+
# Compilation Steps :
29
+
-### Install tkinter, pandas
30
+
-### After that download the code file, and run ll_indian_trains.py on local system.
31
+
-### Then the script will start running and user can scroll down the drop down Option Menu of Train Names and see details for any train name.
mbox.showinfo("Indian Train Details", "Indian Railways (IR) is a statutory body under the jurisdiction of Ministry of Railways, Government of India that operates India's national railway system.\n\nIt manages the fourth-largest railway network in the world by size, with a route length of 67,956 km (42,226 mi) as of 31 March 2020. 45,881 km (28,509 mi) or 71% of all the broad-gauge routes are electrified with 25 kV 50 Hz AC electric traction as of 1 April 2020.\n\nThe first railway proposals for India were made in Madras in 1832. The India's first train, Red Hill Railway (built by Arthur Cotton to transport granite for road-building), ran from Red Hills to the Chintadripet bridge in Madras in 1837.")
0 commit comments