ответвлено от main/python-labs
Изменил(а) на '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
|
||||
|
||||
Компиляция необходима для оптимизации работы
|
||||

|
||||
|
||||
## 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.
|
||||
```
|
||||
|
||||
.PNG)
|
||||
|
||||
## 15 Выполнение последовательности действий
|
||||
Совершены махинации с окнами
|
||||
|
||||
Открыта программа из файла
|
||||
Результат выполнения tdemo_chaos:
|
||||
|
||||
.PNG)
|
||||
|
||||
Результат выполнения clock:
|
||||
.PNG)
|
||||
|
||||
Ссылка в новой задаче
Block a user