Skip to content

Instantly share code, notes, and snippets.

@reiaoki
reiaoki / search_biopython.py
Created October 31, 2017 22:18 — forked from bonzanini/search_biopython.py
Searching PubMed with Biopython
# you need to install Biopython:
# pip install biopython
# Full discussion:
# https://marcobonzanini.wordpress.com/2015/01/12/searching-pubmed-with-python/
from Bio import Entrez
def search(query):
Entrez.email = 'your.email@example.com'