Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 4120

Urllib2 problem

$
0
0

@mahaidong wrote:

import urllib2
req = urllib2.Request(‘https://developer.rhino3d.com/’)
response = urllib2.urlopen(req)
print response.info()
html = response.read()
print html

it can work on windows, but can not work on .
when i change to html = response.read(1000) , it works. only read a bit of contents.

Anyone can figure it out in mac?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4120

Trending Articles