You might look into the third party module, 'BeautifulSoup'. It's designed to help you interrogate markup (even poor markup), extracting nuggets of data based on various criteria.
-Modulok- On 5/4/11, louis leichtnam <l.leicht...@gmail.com> wrote: > Hello Everyone, > > I'm trying to write a program that looks in a webpage in find the titles of > a subsection of the page: > > For example you have the list of the title of stories in a newspaper under > the section "World" and you you click on it you have the entire story. > > I want a program that print the title only of this special section of the > page. > > Can you help me out? I tried using regular expression but I keep hitting > walls and I don't know what to do... > > Thank you > _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor