For my basic python code to text the library :
import html2text
output = html2text.html2text(
'''<p>Hello, world.</p>'''
)
print(output)
I got the error shown below
File "C:\Users\DHRUV PATEL\Desktop\Scraping\Markdown\demo.py", line 3, in <module>
output = html2text.html2text(
^^^^^^^^^^^^^^^^^^^^
TypeError: 'module' object is not callable
Pls help me resolve the error