def main(): # Read the descriptions and the table from stdin. input = sys.stdin.read() # Get the parts parts = inbox.get_parts(input) # Use the current time as the timestamp. time_stamp = datetime.datetime.now(UTC) # Write the iCal file run.run_with_input(parts, time_stamp)
def main(): # Read the descriptions and the table from arcade print "Running ARCADE... (cross your fingers now) ", sys.stdout.flush() input = ARCADE.ArcadeClient().getTimetable() print "OK! (Probably.)" # Get the parts from the ARCADE output. parts = inbox.get_parts(input) # Use the current time as the timestamp. time_stamp = datetime.datetime.now(UTC) # Write the iCal file run.run_with_input(parts, time_stamp)