2018-06-04 14:54 GMT-03:00 Suhas Jadhav <jadhav.su...@gmail.com>:
>
> Yes, I say the documentation. But issues here is urllib2 works well from my 
> python console.

The Python3 console?
Unless you have done something weird, urllib2 cannot work in the
Python3 console *because the module does not exist*.

The proper course of action is to migrate the code correctly to Python
3. You may have to extract the code and run it through 2to3, or a
similar process, but be as it may, *code legitimally intended to run
in Python3 shouldn't invoke a library which is not supposed to exist
there*.

This is not a web2py problem.

-- 
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.

Reply via email to