From d4d1866f8e27513233ddfaee50dc07d40ec0bf23 Mon Sep 17 00:00:00 2001 From: VasilyevIN Date: Wed, 24 Sep 2025 16:45:21 +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'TEMA1/report.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TEMA1/report.md | 90 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 89 insertions(+), 1 deletion(-) diff --git a/TEMA1/report.md b/TEMA1/report.md index e2b3dbb..1b4b909 100644 --- a/TEMA1/report.md +++ b/TEMA1/report.md @@ -15,5 +15,93 @@ Your name=ilia exit() ``` -## 6-7 Изучение интерактивной графической оболочки +## 6-7 Запуск и изучение интерактивной графической оболочки +## 8 Настройка рабочего каталога + +```py +import os +os.chdir('C:\\Users\\Nick\\labs\\TEMA1\\') +``` + +## 9 Изучено меню и заданы предложеные настройки + +## 10 Запущена программа через текстовый редактор оболочки IDLE тремя способами + +```py +# Программа по теме 1 Васильев И.Н. +print('Hello') +h=input('Your name=') +import os +os.chdir('C:\\Users\\Nick\\labs\\TEMA1\\') +``` +## 11 Запуск prb1 + +```py +import prb1 +Как Вас зовут? Ilia +Привет, Ilia +``` + +## 12-13 Открыт и изучен pycache + +Компиляция необходима для оптимизации работы +![](cache.PNG) + +## 14 Изучение раздела помощи Help + +```py +help(print) +Help on built-in function print in module builtins: + +print(*args, sep=' ', end='\n', file=None, flush=False) + Prints the values to a stream, or to sys.stdout by default. + + sep + string inserted between values, default a space. + end + string appended after the last value, default a newline. + file + a file-like object (stream); defaults to the current sys.stdout. + flush + whether to forcibly flush the stream. + +help(print); help(input) +Help on built-in function print in module builtins: + +print(*args, sep=' ', end='\n', file=None, flush=False) + Prints the values to a stream, or to sys.stdout by default. + + sep + string inserted between values, default a space. + end + string appended after the last value, default a newline. + file + a file-like object (stream); defaults to the current sys.stdout. + flush + whether to forcibly flush the stream. + +Help on built-in function input in module builtins: + +input(prompt='', /) + Read a string from standard input. The trailing newline is stripped. + + The prompt string, if given, is printed to standard output without a + trailing newline before reading input. + + If the user hits EOF (*nix: Ctrl-D, Windows: Ctrl-Z+Return), raise EOFError. + On *nix systems, readline is used if available. +``` + +![](print().PNG) + +## 15 Выполнение последовательности действий +Совершены махинации с окнами + +Открыта программа из файла +Результат выполнения tdemo_chaos: + +![](chaos().PNG) + +Результат выполнения clock: +![](clock().PNG)