On Wednesday, November 17, 2021 at 1:30:31 PM UTC-8 lucas wrote:

> hello one and all,
>
> this is not a web2py question or issue.  but, since many are python 
> experts, i thought i'd ask.
>
> are there any other ways to import a module or package other then the 
> "import" or "from...import..." statements?  i ask because i'm allowing 
> programming on my web2py website and i don't want any accessing packages 
> like os or sys.
>
> thank you in advance and have a great day, lucas
>
I believe web2py uses a custom importer, and I know of at least one other 
o/s project that does that (originally Py2, but now Py3).  AIUI, this is a 
subclassing thing, but look through gluon for the actual implementation.

/dps



 

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/b547a4ad-1a70-4b4b-85c0-110733eb7b80n%40googlegroups.com.

Reply via email to