- Raspberry Pi By Example
- Ashwin Pajankar Arush Kakkar
- 95字
- 2021-07-16 11:24:19
Installing PyGame
PyGame usually comes installed with the latest Raspbian distribution, but if it isn't you can use the following command to install it:
sudo apt-get install python-pygame
Test your installation by opening a Python terminal by entering python
in a regular terminal and pressing Enter. Now, execute the following command:
import pygame
Now that you have your system set up and you have hopefully checked out the PyGame website to explore its complete functionalities, we will move on to build the binary fractal tree to introduce you to the workings of PyGame. Let's begin!
推薦閱讀
- 解構產品經理:互聯網產品策劃入門寶典
- Learning Apex Programming
- Java Web開發之道
- INSTANT Sencha Touch
- x86匯編語言:從實模式到保護模式(第2版)
- Internet of Things with Intel Galileo
- Reactive Android Programming
- Unity 3D/2D移動開發實戰教程
- Python Interviews
- SQL Server 2012 數據庫應用教程(第3版)
- Vue.js 3.x高效前端開發(視頻教學版)
- Professional JavaScript
- Java EE輕量級解決方案:S2SH
- 計算機程序的構造和解釋(JavaScript版)
- 劍指大數據:企業級電商數據倉庫項目實戰(精華版)