#!/opt/anaconda/bin/python2.7
# Print the links to stndard out.

from bs4 import BeautifulSoup

soup = BeautifulSoup(open("index.html"))

for link in soup.find_all('a'):
    print(link.get('href'))

Create netstew.py