[Python-Dev] Relative import

Greg Ewing greg at cosc.canterbury.ac.nz
Tue Dec 16 20:53:35 EST 2003


> Second impression: "suites" contain statements, not a list.

That's why I put "suite" in quotes. It wouldn't really be
a suite, just an indented block of stuff.

But if you want, it could be a real suite that only
happens to allow import statements...

  from OPAL.Modules.Financial.Reports.COGS:
    import generate, webOptions, normalize
    import 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