Try:
crc_algorithms = local_import('csc_algorithms')
There are some caveats:
modules under the modules folder work only if they do not contain
absolute imports.
Otherwise you have to put the module in site-packages as you would
normally do with Python modules.
On Nov 19, 5:54 am, encompass <[email protected]> wrote:
> I am needing some extra tools integrated into my environment. I
> assumed you just put them into the modules folder and they can be
> pulled normally. But I guess I am doing something wrong. Any ideas?
> I am trying...
> from crc_algorithms import Crc
> and it gives me the error...
> ImportError: No module names crc_algorithms
> Please Reply to all on this message as I am not subscribed any longer
> to the mailing list. (Too busy for me.)
> Best Regards,
> Jason Brower
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---