[Python-Dev] Relative import
Greg Ewing
greg at cosc.canterbury.ac.nz
Tue Dec 16 20:09:14 EST 2003
Guido:
> > from OPAL.Modules.Financial.Reports.COGS import generate, webOptions, \
> > normalize, row_ops, \
> > summary
>
> But I'm -0 on this change; I fear that someone accidentally adding a
> trailing comma ... will be very puzzled
How about a "suite" of things to import?
from OPAL.Modules.Financial.Reports.COGS import:
generate, webOptions, normalize
row_ops, summary
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg at cosc.canterbury.ac.nz +--------------------------------------+
More information about the Python-Dev
mailing list