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

  • Learn Python in 7 Days
  • Mohit Bhaskar N. Das
  • 165字
  • 2021-07-09 20:40:17

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: "The next step is to edit build.properties file."

A block of code is set as follows:

print "Name Marks Age" 
print ( "%s %14.2f %11d" % ("John Doe", 80.67, 27))
print ( "%s %12.2f %11d" %("Bhaskar" ,76.901, 27))
print ( "%s %3.2f %11d" %("Mohit", 56.98, 25))

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

    $ brew install python

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: "Once done, click on Activate."

Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 光泽县| 五莲县| 广宁县| 上虞市| 湘潭市| 芦山县| 宣威市| 万山特区| 威宁| 扬中市| 长丰县| 四子王旗| 新泰市| 康乐县| 广东省| 五峰| 陇川县| 崇左市| 衡南县| 舒兰市| 浑源县| 福贡县| 醴陵市| 通化县| 渭南市| 广东省| 永年县| 海丰县| 应城市| 时尚| 南通市| 威信县| 凌海市| 华蓥市| 玛多县| 土默特左旗| 象州县| 吕梁市| 光山县| 甘孜| 星子县|