News for hackers. Stuff that matters.
Re:Ask YC: Best practice for Python module imports? by intranation on Sunday June 14, 2009 @05:49PM (#657594)
Ah ok, I wasnt aware that Python had an opinion

See: http://www.python.org/dev/peps/pep-0008/

Re:Ask YC: Best practice for Python module imports? by tomatohater on Sunday June 14, 2009 @09:09PM (#657776)
Agreed. Unless there's a compelling reason not to (conditional imports), it's definitely best to stick with Python conventions (a la PEP8). These conventions are what keep Python one of the cleanest and most readable languages out there.