Skip to content
Advertisement

Tag: beautifulsoup

Modify HTML with BeautifulSoup using data from Pandas table

My understanding is that BeautifulSoup is more for getting data rather than modifying, though it can perform that. I have a skeleton HTML tree called ‘tree’, and want to insert data from a database query to modify the HTML. The amount of data inserted is variable. I’m aware of the method BeautifulSoup.new_tag() but am not sure how to integrate with

Trying to append data they show error ‘dict’ object has no attribute ‘append’

They show me error that AttributeError: ‘dict’ object has no attribute ‘append’ how to handle these error when trying to append the data I am creating a loop in order to append continuously values from user input to a dictionary but i am getting this error is any method to show solve these error this is page link https://www.nationalhardwareshow.com/en-us/attend/exhibitor-list.html: Answer

Advertisement