In beautifulsoup how can we exclude a tag within particular tag while using findAll.
Let us consider this example, I want to find all the <p> tags in the html except the
tags within <tr> tag.
soup.findAll(['p'])
The above code will fetch all the <p> tags but I need to exculde the <p> tags within <tr> tag.