import urllib2 if __name__ == '__main__': urllib2.urlopen("https://docs.python.org")