# addressbook.py# SIMPLE ADDRESS BOOK # data stored in addressbookdata# Justin Seiser 10/5/08 def search_database ():
#search algoritm
searchcriteria = raw_input("What do you want to search by? ")
temp1 = open("addressbookdata","r")
for line in temp1:
if searchcriteria in line:
...