I love that I can watch TV on the internet. Adult Swim's Fix is especially a well visited destination for me. However, I do have a problem with them. One and all, in my expirience, they forget what radio stations and television channels have trained us for all our lives: never reach for the remote until you know what's on next. When one show is over, the familiar feeling of "hey, look what's next" is a nice way to relax in front of the TV, because its already on its way and you don't have to do a damn thing for it. All the video distributions I've used across the internet, however, make me request each and every show or clip or whatever, and simply stop when the current one ends. Why can't I sit back and enjoy the show, without knowing what it is?
At a small suggestion in #python, I wrote up a simple module that allows the use of many python statements in places requiring statements. This post serves as the announcement and documentation. You can find the release here . The pattern is the statement's keyword appended with a single underscore, so the first, of course, is print_. The example writes 'some+text' to an IOString for a URL query string. This mostly follows what it seems the print function will be in py3k. print_("some", "text", outfile=query_iostring, sep="+", end="") An obvious second choice was to wrap if statements. They take a condition value, and expect a truth value or callback an an optional else value or callback. Values and callbacks are named if_true, cb_true, if_false, and cb_false. if_(raw_input("Continue?")=="Y", cb_true=play_game, cb_false=quit) Of course, often your else might be an error case, so raising an exception could be useful
Comments
www.tvmyworld.com
Have a look at it and get back to me on your thoughts please.
cool
C.C.
captain_crackerjack@hotmail.com