- 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
- C++程序設(shè)計教程
- JavaScript從入門到精通(微視頻精編版)
- Clojure for Domain:specific Languages
- Visual Basic程序設(shè)計實(shí)驗(yàn)指導(dǎo)(第4版)
- Hands-On Swift 5 Microservices Development
- Advanced Oracle PL/SQL Developer's Guide(Second Edition)
- UML 基礎(chǔ)與 Rose 建模案例(第3版)
- 青少年信息學(xué)競賽
- Learning Concurrency in Kotlin
- NoSQL數(shù)據(jù)庫原理
- Mastering Unity 2D Game Development(Second Edition)
- 持續(xù)輕量級Java EE開發(fā):編寫可測試的代碼
- Learning Modular Java Programming
- R語言數(shù)據(jù)可視化:科技圖表繪制
- 從零學(xué)Java設(shè)計模式