Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

descriptor_crash.py 217B

1234567891011
  1. import urllib
  2. class Page(object):
  3. _urlOpen = staticmethod(urllib.urlopen)
  4. def getPage(self, url):
  5. handle = self._urlOpen(url)
  6. data = handle.read()
  7. handle.close()
  8. return data