Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

2.4 KiB

Отчет по теме 1

Корнеев Максим, А-01-23

1 Изучение среды IDLE

1.1 Изучение программы-интерпретатора «Python 3.4 (command line)»

>>> print('Hello')
'Hello'
>>> h=input('Your name=')
'Your name=Maxim'
>>> exit()

1.2 Настройка текущего каталога

>>> import os
>>> os.chdir('C:\\Users\\u111-04\\Desktop\\python-labs\\TEMA1')

1.3 Настройка шрифта и размера начального окна

Скриншот настройки шрифта

Скриншот настройки начального окна

1.4 Объединение инструкций используемых выше в одну программу

Программа в файле pr0

1.5 Изучение содержимого файла Pr0.cpython-311.pyc

Скриншот части содержимого файла

1.6 Изучение раздела help

>>> 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)'