From 7aadcf89639c7ef1b3be439f1b05e5dbcef73a33 Mon Sep 17 00:00:00 2001 From: ButkoZV Date: Fri, 19 Dec 2025 08:30:05 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB(?= =?UTF-8?q?=D0=B0)=20=D0=BD=D0=B0=20'TEMA9/report.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TEMA9/report.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TEMA9/report.md b/TEMA9/report.md index 88c2cdf..9d7c086 100644 --- a/TEMA9/report.md +++ b/TEMA9/report.md @@ -94,17 +94,17 @@ def otobrazh(objekt): #Объявление самостоятельной фу import os,sys import importlib as imp -os.chdir('C:\\Users\\nikit\\Desktop\\python-labs\\TEMA9\\') +os.chdir('/Users/zakhar/Desktop/lab9') os.getcwd() -'C:\\Users\\nikit\\Desktop\\python-labs\\TEMA9' +'/Users/zakhar/Desktop/lab9' from Mod3 import Class1 #Частичный импорт содержимого модуля z4=Class1() z4.otobrazh() Traceback (most recent call last): File "", line 1, in z4.otobrazh() - File "C:\Users\nikit\Desktop\python-labs\TEMA9\Mod3.py", line 5, in otobrazh + File "/Users/zakhar/Desktop/lab9/Mod3.py", line 5, in otobrazh print(self.data)#Отображение данных экземпляра AttributeError: 'Class1' object has no attribute 'data'