[web2py] issue when import from one web2py module into another

2016-03-20 Thread Richard
Hello, Is there any thing to consider when trying to import from one module to another? I try import a specific fonction like so : from other_module import function cannot import name "function" Thanks Richard -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) -

Re: [web2py] issue when import from one web2py module into another

2016-03-19 Thread Leonel Câmara
from other_module import function should work too -- 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

Re: [web2py] issue when import from one web2py module into another

2016-03-18 Thread Richard Vézina
Don't know why it doesn't nothing special from my side... On Thu, Mar 17, 2016 at 2:59 PM, Leonel Câmara wrote: > from other_module import function > > should work too > > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > -

Re: [web2py] issue when import from one web2py module into another

2016-03-18 Thread Richard Vézina
import module_name Then module_name.function works fine... Richard On Thu, Mar 17, 2016 at 2:48 PM, Richard wrote: > Hello, > > Is there any thing to consider when trying to import from one module to > another? > > I try import a specific fonction like so : > >