В категории материалов: 71
Показано материалов: 11-20
Python. PyGame. Keyboard events
- Keyboard events
- Keyboard events attribute
- Check key down
- Task 1
- Task 2
- Using keyboard shortcuts
- Questions
- Exercises
- Tasks
12.5.3.4 control characters with the keyboard. |
Python. PyGame. Mouse events
- Mouse events
- Mouse clicks
- Cursor position
- Task 1
- Task 2
- Drag and drop
- Questions
- Exercises
- Tasks
12.5.3.3 control characters with the mouse. |
Python. PyGame. Loading and animation pictures
- Loading pictures
- How to load the picture
- How to determine the size of the surface
- Creating a background for race
- Add car movement
- Questions
- Exercises
- Tasks
12.5.3.1 code the movement of graphic objects |
Python. Tuple (Кортеж)
- Описание
- Неизменяемость
- Сравнение кортежей
- Множественное присваивание
- Вопросы
- Упражнения
- Задачи
11.2.4.1 создавать кортеж;
11.2.2.1 выполнять доступ к элементам строк, списков, кортежей; |
Python. PyGame. Draw module
- Draw module
- line
- lines
- polygon
- rectangle
- circle
- ellipse
- arc
- Examples
- Questions
- Exercises
- Tasks
12.5.2.1 output graphic primitives to the application window. |
PIL library. Image processing.
- Wave library
- Open and close *.wav files
- Functions of Wave library
- Get information about *.wav file
- Struct library
- Questions
- Exercises
- Tasks
12.6.3.1 use commands of the Wave library to process sound files. |
PIL library. Image processing.
- Model example
- Load pixels and Change color
- Get three colors from the pixel
- ImageFilter module in PIL
- Types of filters in ImageFilter
- Questions
- Exercises
- Tasks
12.6.2.2 use commands of module Image in PIL library (load, create, size, save) to manipulate images.
12.6.2.4 create filters for image processing.
|
PIL library
12.6.2.1 determine standard colors by RGB code;
12.6.2.2 use commands of module Image in PIL library (load, create, size, save) to manipulate images;
12.6.2.3 apply graphic primitives to create drawings. |
Random library
12.6.1.1 use the functions of the library Random to get a pseudo-random number.
12.6.1.2 determine the function of the library Random for the specified task.
12.6.1.3 identify code snippets that use random sequence generation.
|
Python. Списки - List
- Определение
- Создание списков
- Генерация списков
- Индексирование списков
- Добавление элементов в список
- Изменение элемента списка
- Вывод элементов списка
- Срезы списков
- Удаление элементов
- Отличие списков и массивов
- Вопросы
- Упражнения
- Задачи
11.2.3.1 создавать список;
11.2.2.1 выполнять доступ к элементам строк, списков и кортежей;
11.2.3.6 определять различия между различными структурами данных;
|