官术网_书友最值得收藏!

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: "While assigning the value to the weight variable, we didn't specify the data type, but the Python interpreter assigned it as an integer type, int."

A block of code is set as follows:

/*
  Blink
  Turns on an LED on for one second, then off for one second, repeatedly.

  This example code is in the public domain.
 */

// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;

// the setup routine runs once when you press reset:
void setup() {
  // initialize the digital pin as an output.
  pinMode(led, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
  digitalWrite(led, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);               // wait for a second
  digitalWrite(led, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);               // wait for a second
}

Any command-line input or output is written as follows:

$ sudo easy_install pip

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: "In the System window, click on the Advanced system settings in the left navigation bar to open a window called System Properties."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 双江| 山阳县| 旬邑县| 老河口市| 郎溪县| 白城市| 泽州县| 西充县| 定远县| 五指山市| 扶余县| 宣恩县| 木里| 宣恩县| 丹凤县| 宣化县| 苏尼特左旗| 施甸县| 青冈县| 安远县| 威信县| 彩票| 二连浩特市| 抚松县| 锡林浩特市| 尚志市| 济南市| 茂名市| 罗平县| 察雅县| 迭部县| 偃师市| 湛江市| 内黄县| 车致| 彰化县| 福贡县| 大方县| 青州市| 三明市| 施甸县|