OK, what I should import in my module?

The module is supposed detouchable, developed for the extra web2py use
also

What a clever way to check web2py, to import only needed
gluon.globals.Request and to resolve exception if any?

Also:  if I really need only  some functions from my hypothetic
module, how to optimize functions (may be classes) for a better
performance?
To import only needed function inside functions in controller? Or to
import * (all) inside model? Will be any difference? What will be
impact of the ballast inside that module (extra lib imports etc)?

Finally - is it practical to develop universal pythonic module, for
which the work inside web2py will be optional? It is like GAE is
optional for web2py, but can be web2py is optional for my tiny lib? Or
the better to make a special wrapper inside module folder and to push
other staff into "site-packages"?

Vale!

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to