В категории материалов: 30
Показано материалов: 11-20
PHP & MySQL database. Connect to database
11.5.3.4 use script language to connect a database |
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. 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. PyGame.
Time and animation
- Animation
- Time
- Example
- Questions
- Exercises
- Tasks
12.5.3.1 code the movement of graphic objects;
12.5.3.8 analyse the result of the program execution;
12.5.3.2 control the characters with module Time. |
Python. PyGame. Surfaces
- Creating new surface
- Output surface on display
- Output surface on another surface
- Example
- Questions
- Exercises
- Tasks
12.5.2.3 manage the surfaces programmatically. |
Python. PyGame library
- Installing the PyGame library
- Connecting and Initializing a PyGame module in the program
- Game window creation
- Game loop
- Questions
- Exercises
- Tasks
12.5.1.1 connect the PyGame library and its modules;
12.5.1.2 create the game window;
12.5.1.3 code the game loop of the application. |
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.
|
Python. Цикл FOR
- Синтаксис
- Диапазон значений итератора - Range
- Когда использовать цикл FOR
- Вопросы
- Упражнения
- Задачи
11.1.2.4 писать программу, используя цикл For
11.1.2.5 определять диапазон значений для цикла |
Python. WHILE Loop
- Определение
- Особенности цикла while
- Вопросы
- Упражнения
- Задачи
11.1.2.1 писать программный код, используя цикл While
11.1.2.2 программировать циклический алгоритм в соответствии с блок-схемой |