Sure, really not much to see.. not sure if this is what you're asking, but I've got the module in the modules folder, and in a model I have-
*from _vars import ** ...which throws an error that w2p is unable to find it, so I just use- *from sys import pathpath append('...web2py/applications/init/modules')* ...and the import is fine. On Monday, February 26, 2018 at 5:52:47 PM UTC-7, Anthony wrote: > > On Monday, February 26, 2018 at 5:29:46 PM UTC-5, Jordan Ladora wrote: >> >> Forgot to reply to this earlier but I ended up putting them in a module >> to be imported. >> >> Incidentally, I noticed when importing a module (from outside the regular >> system path for python libs) into a model, I needed to append the >> app/modules folder path before doing the import. >> > > You should not need to do that. Can we see your exact code? > > Anthony > -- 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.