def esearch(db, term, **keywds):
 cgi = 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi'
 variables = {'db': db, 'term': term}
 variables.update(keywds)
 return _open(cgi, variables)

def esearch ( db , term , ** keywds ) : cgi = 'https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi' variables = { 'db' : db , 'term' : term } variables . update ( keywds ) return _open ( cgi , variables )
esearch runs an entrez search and returns a handle to the results .