Zediwan / PyEvoSim

A python based cellular evolution simulation
Mozilla Public License 2.0
3 stars 3 forks source link

Solve circular import problems by implementing an __init__.py file #61

Open Zediwan opened 7 months ago

Zediwan commented 7 months ago

A tile needs to know its organism and an organism its tile. However these circular imports seem to be a problem in python and can be solved by creating an init.py file where the load order is defined.