Hi, im having a similar issue:

In modules, i have a utils.py module with a function called "first" that i 
cant import from another module.

The problem is that theres a utils.py module installed in the python 
standard library that obviously doesn not has that function and its being 
imported before my utils.py.

So the questions are:
- shall i modify sys.path so modules takes precedence over the python 
library?
- is there any drawback you can think of by doing so?
- where would it be a good place to do this?

I could rename the module to myutils.py and the problem goes away but still 
would like to load web2py modules first.

Thanks



-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to