I am using BeautifulSoup and have BeautifulSoup.py in the same folder as my program.
Running type() on a specific object I want to check against gives me this output:
How can I use isinstance on any other item to see if it is of this type?Code:<class 'BeautifulSoup.NavigableString'>
using isinstance(item, <class 'BeautifulSoup.NavigableString'>) doesn't work.
Bookmarks