diff --git a/TEMA1/Pr0.py b/TEMA1/Pr0.py new file mode 100644 index 0000000..af827ec --- /dev/null +++ b/TEMA1/Pr0.py @@ -0,0 +1,5 @@ + #Программа по Теме 1 <Корнеев Максим Александрович> +print('Hello') +h=input('Your name=') +import os +os.chdir('C:\\Users\\u111-04\\Desktop\\python-labs\\TEMA1') diff --git a/TEMA1/figure0.png b/TEMA1/figure0.png new file mode 100644 index 0000000..5a172e0 Binary files /dev/null and b/TEMA1/figure0.png differ diff --git a/TEMA1/figure1.png b/TEMA1/figure1.png new file mode 100644 index 0000000..e3cf3d7 Binary files /dev/null and b/TEMA1/figure1.png differ diff --git a/TEMA1/figure2.png b/TEMA1/figure2.png new file mode 100644 index 0000000..a49d2b5 Binary files /dev/null and b/TEMA1/figure2.png differ diff --git a/TEMA1/figure3.png b/TEMA1/figure3.png new file mode 100644 index 0000000..f6c3e11 Binary files /dev/null and b/TEMA1/figure3.png differ diff --git a/TEMA1/report.md b/TEMA1/report.md index e69de29..0d15fb4 100644 --- a/TEMA1/report.md +++ b/TEMA1/report.md @@ -0,0 +1,82 @@ +# Отчет по теме 1 + +Корнеев Максим, А-01-23 + +## 1 Изучение среды IDLE + +## 1.1 Изучение программы-интерпретатора «Python 3.4 (command line)» + +'''py +>>> print('Hello') +'Hello' +>>> h=input('Your name=') +'Your name=Maxim' +>>> exit() +''' + +## 1.2 Настройка текущего каталога + +'''py +>>> import os +>>> os.chdir('C:\\Users\\u111-04\\Desktop\\python-labs\\TEMA1') +''' + +## 1.3 Настройка шрифта и размера начального окна + +![Скриншот настройки шрифта](figure1.png) + +![Скриншот настройки начального окна](figure2.png) + +## 1.4 + + + +## 1.5 Изучение содержимого файла Pr0.cpython-311.pyc + +![Скриншот части содержимого файла](figure3.png) + +## 1.6 Изучение раздела 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 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. + +(None, None)' +''' \ No newline at end of file