kurs.py added try:except