Modules, Packages and Developer Confusion. Oh My!
Fredrik Lundh
fredrik at pythonware.com
Fri Nov 10 15:37:58 EST 2006
dhable at gmail.com wrote:
> from model import *
> from search import *
>
> def create_connection():
> # details are unimportant for this example
>
>
> When I try to use the create_connection function in model, I get errors
> when I use it as a global function ( just create_connection()).
importing everything from "model" into "OPS" isn't the same thing as
importing everything from "OPS" into "model".
</F>
More information about the Python-list
mailing list