When I run a python program in my eclipse Pydev project, I meet an error message ImportError: DLL load failed: %1 is not a valid Win32 application. This error occurs when I use the python sqlite3 module in my program. This article will tell you how to fix it.
This article summarizes several cases that will throw Python TypeError: ‘str’ object is not callable, it will also tell you how to fix the error in each case.
Python provide a lot of built-in exception classes. All the built-in classes are sub class of builtins.BaseException class. Besides built-in exception class, you can also create customize exception class. But all custom exception class must extend builtins.Exception class. The builtins.Exception class is also a sub class of builtins.BaseException class. This example will tell you how …
When I run python code in mac os, I meet a certificate verify failed error like this ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056). This error confused me a lot of time. And after googling the error, I finally find the solution to fix it, below are the steps.