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.

fallback_import_disabled.py 331B

12345678910
  1. # pylint: disable=missing-docstring,unused-import
  2. try:
  3. import urllib2 as urllib_request #@
  4. import urllib2 as urllib_error
  5. from urlparse import urlparse
  6. except ImportError:
  7. # python2
  8. from urllib import request as urllib_request
  9. from urllib import error as urllib_error
  10. from urllib.parse import urlparseq