import urllib
response = urllib.urlopen("http://python.org")
print response
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/lib/python2.7/urllib.py", line 26, in <module>
import socket
File "/lib/python2.7/socket.py", line 47, in <module>
import _socket
ImportError: Could not evaluate dynamic lib: //lib/python2.7/_socket.so
Code was evaluated using this app yields
Uncaught ReferenceError: _getaddrinfo is not definedin JS console.While trying same code as chrome extension https://github.com/kracekumar/offline-python