using names before they're defined

Paul McGuire ptmcg at austin.rr.com
Wed Jul 19 23:34:47 EDT 2006


davehowey at f2s.com wrote:
> I have a problem. I'm writing a simulation program with a number of
> mechanical components represented as objects.

Have you looked at SimPy?  This may simplify much of your data
structure anguish (probably only need forward refs, without the back
refs), plus it will do all the discrete event scheduling for you.

-- Paul




More information about the Python-list mailing list