- 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!
推薦閱讀
- UNIX編程藝術(shù)
- 計(jì)算思維與算法入門
- SQL學(xué)習(xí)指南(第3版)
- Python從小白到大牛
- LabVIEW入門與實(shí)戰(zhàn)開發(fā)100例
- Scratch真好玩:教小孩學(xué)編程
- Mastering Git
- 3ds Max印象 電視欄目包裝動畫與特效制作
- 軟件體系結(jié)構(gòu)
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)項(xiàng)目化教程
- Go語言入門經(jīng)典
- Node.js 6.x Blueprints
- 算法訓(xùn)練營:海量圖解+競賽刷題(入門篇)
- HTML5程序開發(fā)范例寶典
- Swift Essentials(Second Edition)