[docs] https://docs.python.org/3/library/html.entities.html give not hint about how to access the module

Larry Evans cppljevans at suddenlink.net
Sun Feb 11 17:28:08 EST 2018


On 02/11/2018 04:21 PM, Larry Evans wrote:
> The obvious 1st guess is:
> 
>    import html
> 
> but that results in:
> 
> make
> python entities.py
> Traceback (most recent call last):
>    File "entities.py", line 1, in <module>
>      import html
> ImportError: No module named html
> 
> I'm on linux and obviouly have python installed; so, why can't python 
> find the *standard* library?
> 
> I've been trying for hours to get this to work.
> It shouldn't be this hard.
> 
> -regards,
> Larry
> 
Never mind.  I just had to use python3 instead of python2 :(



More information about the docs mailing list