You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "e:\prg\py\winpython\python-3.10.9.amd64\lib\site-packages\remi-1.2.2-py3.10.egg\remi\gui.py", line 30, in <module>
from HTMLParser import HTMLParser
ModuleNotFoundError: No module named 'HTMLParser'
There are very few cases where except: is a good solution, and even less of those where you are not going to re-raise the exception afterwards. Also, I suggest to reverse the order of trials; first check for the newer solution, then fall back to the old, rather than vice-versa. For the second problem, you could do, for example:
Activity
burnpanck commentedon Apr 18, 2024
There are very few cases where
except:is a good solution, and even less of those where you are not going to re-raise the exception afterwards. Also, I suggest to reverse the order of trials; first check for the newer solution, then fall back to the old, rather than vice-versa. For the second problem, you could do, for example: