fa5b9b718f165eb212073c881c605057c129f933 chmalee Fri Apr 12 16:56:56 2019 -0700 Forgot to add link to Ensembl python inspiration, no refs diff --git src/hg/hubApi/tests/pythonClient.py src/hg/hubApi/tests/pythonClient.py index f52621d..34935a0 100755 --- src/hg/hubApi/tests/pythonClient.py +++ src/hg/hubApi/tests/pythonClient.py @@ -1,19 +1,20 @@ #!/bin/env python """ This code is heavily inspired by the Ensembl python client +https://github.com/Ensembl/ensembl-rest/wiki/Example-Python-Client """ import argparse import json import sys # support python2 and 3 try: from urllib.parse import urlparse, urlencode from urllib.request import urlopen, Request from urllib.error import HTTPError except ImportError: from urlparse import urlparse from urllib import urlencode from urllib2 import urlopen, Request, HTTPError