https://docs.python.org/3/library/html.entities.html give not hint about how to access the module
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
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 :(
participants (1)
-
Larry Evans