
April 1, 2009
7:59 a.m.
Jack diederich wrote:
FYI, PEP-8
Imports should usually be on separate lines, e.g.:
Yes: import os import sys
No: import sys, os
Of all the PEP 8 guidelines, I think that's the one that I deviate from most frequently. This is especially so for modules with names which are shorter than the import keyword itself (sys, os, re, time being the main offenders there). Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia ---------------------------------------------------------------