Possible Duplicate:
Parsing HTML in Python
i am newbie to python, i am using python.i have downloaded the HTML file from my site.and that downloaded HTML file has some urls. i want only some urls from that HTML file to be write in to separate text file using python.how can i do this? can anyone help me?