Closed mikegerber closed 5 years ago
On Python 2, the script fails with an obscure error message because open() does not have an encoding parameter yet. Fail more gracefully by giving a meaningful error message early on Python 2.
encoding
Thanks. Hope we can soon finally say bye bye, Python 2.
bye bye, Python 2
On Python 2, the script fails with an obscure error message because open() does not have an
encoding
parameter yet. Fail more gracefully by giving a meaningful error message early on Python 2.