[Python-Dev] Relative import (original) (raw)

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, rowops, _ > 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