human
Checking if a website is up
assistant
Here is some code to checking if website "http://www.stackoverflow.com" is up

print(urllib.request.urlopen('http://www.stackoverflow.com').getcode())

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.