Python Programming Learning Circle
Jun 2, 2020 · Backend Development
Building a Command-Line Train Ticket Query Tool with Python
This tutorial explains how to create a Python CLI application named tickets that parses command-line arguments, retrieves station codes, queries the 12306 railway API for ticket data, and displays the results in a formatted table using libraries such as docopt, requests, and prettytable.
PrettyTablePythonRequests
0 likes · 7 min read