import urllib.request, urllib.error, urllib.parse
soup = BS(urllib.request.urlopen('./test.html').read())
contents = [str(x.text) for x in soup.find(id='start_dateid').find_all(
    'option')]
How to get the option text using BeautifulSoup