Exceptions in Python can be handled using a try/except statement. The general syntax is as follows:
```
try:
# code that may raise an exception
except ExceptionType:
# code that will run in case of the exception
```
Here is an example:
```
try:
x = 1 / 0 # This will raise a ZeroDivisionError
except ZeroDivisionError:
x = 0 # If a ZeroDivisionError occurs, this code will be run instead
print(x) # This will print “0“
```
In this example, attempting to divide by zero raises a `ZeroDivisionError`. The `except` block catches this exception and executes its own code instead of the program crashing.
If you want to catch all types of exceptions, you can do so by using the base `Exception` class in the `except` clause:
```
try:
# some code
except Exception as e:
print(“An error occurred: “, e)
```
You can also use `else` clause which will be executed if the try block doesn’t throw any exception and `finally` block which will be executed no matter if the try block raises an error or not:
```
try:
# code that may raise an exception
except ExceptionType:
# handle exception
else:
# code that will execute if no exception was thrown
finally:
# cleanup code that runs no matter what
```
Remember that blindly catching all exceptions is usually not a good idea though, because it can make debugging more difficult by hiding errors.