You see, it's stuff like this that makes me like python.
So I write a script, and put the usual
if __name__ == "__main__":
main()
My functions and the script have docstrings, because not having them makes you worse than Hitler. E.g.
$ cat myscript.py
"""My Module What Does Some Crap"""
def do_crap(a_param):
"""This function does some crap."""
print "stuff"
Great, cool, I can run it from the command line, and it does some crap. Now, let's just import it with 'import myscript'.
Now, let's run help(myscript). Boom! Instant man page! I knew help(function) would give you a pretty version of the docstring, but didn't realise that it worked so wonderfully on modules; I'm not even sure why I tried it today.
I have to read up on the unit testing that grabs test cases from the docstrings. That's really cool.
If you work with nerds at all, chances are you know at least one person who has tiny, tiny fonts and a ludicrously high resolution. They claim that it's fine, they can read it just great, and look how much text they can get on screen! Then they sit there hunched forward and squinting. I think it's some kind of weird geek macho thing.
I decided to see if the reverse held. I put every font on everything up by at least two points. (I already had sane sized text.) It does work. I sit back in my chair and use the back support. Squinting is annoying rather than useful or neutral. Sometimes I do think "boy, that's some big text", but I'm getting used to it. Sure, I have lost some screen space, but I think it's well worth it. I don't really notice, which implies some of it wasn't being used usefully anyway.