Manually raising (throwing) an exception in Python

How do I raise an exception in Python so that it can later be caught via an except block?

← Назад к списку