资讯

In Python, a SyntaxError happens when the interpreter finds code that does not conform to the rules of the Python language.
In our example, Python offers two ways to access the exception information. For both, the Python script first must have import sys before the try: .. except: portion of the code. With the first method ...