You are reading the wrong documentation or the wrong Python interpreter version. You tried to use the Python 3 library in Python 2. Use: import urllib2 sock ...
確定! 回上一頁