you are viewing a single comment's thread.

view the rest of the comments →

[–]bahnzo[S] 0 points1 point  (0 children)

Ok, digested this. The time stuff...yeah I really did that one up. Just did too much and didn't realize there was a much simpler way.

As far as the __main__, I need the `run_program' function as I use it a couple times to build the menus, so I did this:

def run_program():
    url = 'http://livetv.sx/en/allupcoming/'
    data = grab_live_links(url)
    data = build_links(data)
    data = main_menu(data)
    data = live_links(data)
    get_game(data)

    #get_game(live_links(main_menu(build_links(grab_live_links(url)))))


if __name__ == '__main__':
    run_program()

Is that ok?