def initBus(): # Input function to obtain route number from user route = input( '\n\n*******Get Buses*******\n\nPlease enter a route number (leave blank for all routes):\n\n' ) # Call getBuses function with user-defined route number getBuses(route)
def main(): route = "" # Input function to obtain route number from user #route = getInput("route") # Call getBuses function with user-defined route number # getBuses(route) while True: getBuses(route) time.sleep(60)
def main(): route = "" # Input function to obtain route number from user route = getInput("route") # Call getBuses function with user-defined route number getBuses(route) station = "" # Input function to obtain route number from user station = getInput("station") # Call getBuses function with user-defined route number getTrains(station)
def initBus(): # Input function to obtain route number from user route = input('\n\n*******Get Buses*******\n\nPlease enter a route number (leave blank for all routes):\n\n') # Call getBuses function with user-defined route number getBuses(route)