Ian Bicking: the old part of his blog

Re: py.std

"I have to go up to the top of the file"

No, you don't. If you want a local import, use a local import. Import != include; it's perfectly okay to import things only when and where you need them.

Comment on py.std
by Fredrik


Yeah, but... There is a certain feeling of sequentialness involved in importing, #include-ing, and <!--#include-->ing everything atop the file, so that you can tell, at a glance, exactly which files have to be visible at parse/compile time to make the the code worky-worky.

# Chris