- Raspberry Pi By Example
- Ashwin Pajankar Arush Kakkar
- 189字
- 2021-07-16 11:24:12
Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: " We need the random
library for the randint()
function, which returns a random integer in the provided range."
A block of code is set as follows:
def fractal_tree(b_len,t): if b_len > 5: temp=random.randint(1, b_len) temp_angle = random.randint(1, 25) t.forward(temp) t.right(temp_angle) fractal_tree(b_len-10,t) t.left(2 * temp_angle) fractal_tree(b_len-10,t) t.right(temp_angle) t.backward(temp)
Any command-line input or output is written as follows:
pi@raspberrypi ~ $ mkdir book pi@raspberrypi ~ $ cd book pi@raspberrypi ~/book $ pwd /home/pi/book pi@raspberrypi ~/book $
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: " Check out the Product page of Raspberry Pi at
- SPSS數(shù)據(jù)挖掘與案例分析應(yīng)用實(shí)踐
- 深度學(xué)習(xí)經(jīng)典案例解析:基于MATLAB
- Elastic Stack應(yīng)用寶典
- 薛定宇教授大講堂(卷Ⅳ):MATLAB最優(yōu)化計(jì)算
- 正則表達(dá)式經(jīng)典實(shí)例(第2版)
- VMware虛擬化技術(shù)
- JavaScript+jQuery網(wǎng)頁(yè)特效設(shè)計(jì)任務(wù)驅(qū)動(dòng)教程
- Android Game Programming by Example
- Xamarin Cross-Platform Development Cookbook
- HTML5與CSS3權(quán)威指南
- 關(guān)系數(shù)據(jù)庫(kù)與SQL Server 2012(第3版)
- Getting Started with Windows Server Security
- JSP應(yīng)用與開(kāi)發(fā)技術(shù)(第3版)
- Swift Essentials(Second Edition)
- 深度學(xué)習(xí)的數(shù)學(xué):使用Python語(yǔ)言