hai i am new to python, can any one please help me how to parse data from an html file,
i want to display the content which lies under a particular tag,and also can you please tell where can i find tutorials for this topic with sample examples.
sravi.pearl
0
Newbie Poster
Recommended Answers
Jump to PostLook here for Python documentation: http://docs.python.org/
And here for various parsers: http://docs.python.org/library/markup.html
Jump to PostPython has 2 very good 3 party parser BeautifulSoup and lxml.
This parser can handle html that is no good,this can be important.
An example with BeautifulSoup.
We want the price of beans from this site.
All 12 Replies
griswolf
304
Veteran Poster
sravi.pearl
0
Newbie Poster
griswolf
304
Veteran Poster
snippsat
661
Master Poster
sravi.pearl
0
Newbie Poster
sravi.pearl
0
Newbie Poster
griswolf
304
Veteran Poster
sravi.pearl
0
Newbie Poster
snippsat
661
Master Poster
sravi.pearl
0
Newbie Poster
snippsat
661
Master Poster
griswolf
304
Veteran Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.