wow, am i behind the times or what? i didn't realize python 2.5 added real coroutine support by making yield an expression. now i can call the send method on a generator and it will pop in as the evaluated result of the yield.
also the webbrowser module can pop up a browser window (or tab). handy for showing docs.
i'd only just started using with. i need to stay up to speed on these things.
No comments:
Post a Comment