Creating a GUI-Based Train Ticket Booking System in Python | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Creating a GUI-Based Train Ticket Booking System in Python JIshnu Teja Dandamudi This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-6316237/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract In today’s digital era, students often resort to replicating pre-existing projects, limiting opportunities for innovation and genuine learning. This project aims to design and develop a novel **Train Ticket Booking System** using Python’s Tkinter for the front-end and MySQL for the back-end. The system is a self-driven initiative, created without referencing any prior implementations, with the objective of learning new skills and addressing real-world challenges in railway reservation systems. The project seeks to digitize and streamline the processes involved in railway inquiry and ticket reservation. In **Admin Mode**, the system enables functionalities such as adding trains, assigning seats, defining train routes, generating reservation charts, and deleting trains. In **User Mode**, it allows ticket booking, PNR inquiry, and viewing booking history. The software supports storing and managing multiple train records while offering intuitive options for modifications. Key features include detailed train information, such as travel duration, arrival and departure timings, and historical ticket bookings. By leveraging a structured database, the system enhances data integrity and retrieval efficiency, offering a comprehensive solution for railway management. This project not only demonstrates practical application development but also emphasizes learning through creation, contributing to the broader goal of fostering innovation in student-led initiatives. Python Python tkinter GUI MySQL Text Files Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-6316237","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":435658752,"identity":"987f44f0-1d53-4f84-b5ab-3b77645e0c02","order_by":0,"name":"JIshnu Teja Dandamudi","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABE0lEQVRIiWNgGAWjYDCCAwcbmKEsxgcJBjZyYOYDIrRIAFnMBh8q0ozBggl4tTAwQLUwsEnOOHMosQEkik8L38HDzZ8Ldxyu42c8/ECat+1A+vywww+BttjJ6TZg1yJ54GCb9MwzhyUkG44ZGPO23cndeDvNAKgl2djsAHYtBkAtzLxthyUMDhwwSOZte5a7cXYCSMuBxG24tTR/BmmxP3D8w2EgI91wdvoHQloapMG2MJwxbJxx5nCCvHQOflvAfuFtS5ecceBMMQMwkA03SOcUHEgwwO0XvhvHHwMdZs3PP+P49h/AqJSXn52++cOHCjs5XFoYJA6gMQzAtAEO5SDA34DGkG/ArnAUjIJRMApGLgAAbNdzwyHMk9IAAAAASUVORK5CYII=","orcid":"","institution":"Amrita Vishwa Vidyapeetham University","correspondingAuthor":true,"prefix":"","firstName":"JIshnu","middleName":"Teja","lastName":"Dandamudi","suffix":""}],"badges":[],"createdAt":"2025-03-27 02:38:20","currentVersionCode":1,"declarations":{"humanSubjects":false,"vertebrateSubjects":false,"conflictsOfInterestStatement":false,"humanSubjectEthicalGuidelines":false,"humanSubjectConsent":false,"humanSubjectClinicalTrial":false,"humanSubjectCaseReport":false,"vertebrateSubjectEthicalGuidelines":false},"doi":"10.21203/rs.3.rs-6316237/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-6316237/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":79653734,"identity":"8f7260da-0421-4606-a159-8c869aa66fcf","added_by":"auto","created_at":"2025-04-01 08:24:15","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":623888,"visible":true,"origin":"","legend":"","description":"","filename":"journal.pdf","url":"https://assets-eu.researchsquare.com/files/rs-6316237/v1_covered_18ed2f0d-68e8-4cb3-8b90-678b8070846d.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Creating a GUI-Based Train Ticket Booking System in Python","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":true,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":true,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"Python, Python tkinter GUI, MySQL, Text Files","lastPublishedDoi":"10.21203/rs.3.rs-6316237/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-6316237/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eIn today’s digital era, students often resort to replicating pre-existing projects, limiting opportunities for innovation and genuine learning. This project aims to design and develop a novel **Train Ticket Booking System** using Python’s Tkinter for the front-end and MySQL for the back-end. The system is a self-driven initiative, created without referencing any prior implementations, with the objective of learning new skills and addressing real-world challenges in railway reservation systems. The project seeks to digitize and streamline the processes involved in railway inquiry and ticket reservation. In **Admin Mode**, the system enables functionalities such as adding trains, assigning seats, defining train routes, generating reservation charts, and deleting trains. In **User Mode**, it allows ticket booking, PNR inquiry, and viewing booking history. The software supports storing and managing multiple train records while offering intuitive options for modifications. Key features include detailed train information, such as travel duration, arrival and departure timings, and historical ticket bookings. By leveraging a structured database, the system enhances data integrity and retrieval efficiency, offering a comprehensive solution for railway management. This project not only demonstrates practical application development but also emphasizes learning through creation, contributing to the broader goal of fostering innovation in student-led initiatives.\u003c/p\u003e","manuscriptTitle":"Creating a GUI-Based Train Ticket Booking System in Python","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-04-01 08:23:31","doi":"10.21203/rs.3.rs-6316237/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"575dddd2-f3fd-401d-bb3d-a6afac2b5cc8","owner":[],"postedDate":"April 1st, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2025-04-01T08:23:31+00:00","versionOfRecord":[],"versionCreatedAt":"2025-04-01 08:23:31","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-6316237","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-6316237","identity":"rs-6316237","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.