« first day (2326 days earlier)      last day (1030 days later) » 

7:54 AM
311
Q: Decode HTML entities in Python string?

jkpI'm parsing some HTML with Beautiful Soup 3, but it contains HTML entities which Beautiful Soup 3 doesn't automatically decode for me: >>> from BeautifulSoup import BeautifulSoup >>> soup = BeautifulSoup("<p>&pound;682m</p>") >>> text = soup.find("p").string >>> print text &pound;682m How ca...

 
1 message moved from Python
 
8:23 AM
Can you help me for my question as I couldn't solve it . Here is the link : stackoverflow.com/questions/68219577/…
 
1 message moved from Python
 

« first day (2326 days earlier)      last day (1030 days later) »