import and package confusion

Dale Amon amon at vnl.com
Wed Apr 29 16:40:20 EDT 2009


On Wed, Apr 29, 2009 at 04:34:03PM -0400, Dale Amon wrote:
> 	type = "VLM4997"
> 	type.Header(args)
> 	type.Plan(args)
> 	type.Conditions(args)
> Where the type might change from execution to execution
> or even on different iterations.

Actually let me make that reflect more accurately what
is going on:

	obj         = Deck(rdr)
	obj.header  = type.Header(rdr)
	obj.plan[0] = type.Plan(rdr)
	obj.plan[1] = type.Plan(rdr)
	obj.cond    = type.Conditions(rdr)

	obj.cond.calcsomething(args)

and so forth through many pages of code...




-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20090429/eaec021e/attachment.sig>


More information about the Python-list mailing list