Name file is not defined python. Self python. def init. def python. nameerror: name 'x' is not defined — что означает эта ошибка?.