def beautiful_soup(*args, **kwargs):
 import bs4
 return bs4.BeautifulSoup(*args, **kwargs)

def beautiful_soup ( * args , ** kwargs ) : import bs4 return bs4 . BeautifulSoup ( * args , ** kwargs )
indirection function so we can lazy-import bs4 .