Can you maybe show me a simple example of how i can import the http.client
module in my cotrols

On Sat, 22 Sep 2018 at 09:43, Dave S <[email protected]> wrote:

>
>
> On Thursday, September 20, 2018 at 6:49:23 AM UTC-7, Leonel Câmara wrote:
>>
>> The module I'm referring to is obviously the one you mentioned
>> (http.client).
>>
>> You can use python 3 with web2py yes.
>>
>
> I'll just emphasize that you can't switch back-and-forth.  You need
> separate instances of web2py for Py2 and Py3.   Source files can be moved
> from one to the other, and sqlite3 databases, but sessions and other
> "pickled" files don't work.  I would expect compiled files (.pyc) to not do
> so well, either.
>
> /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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to