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

Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "However, when the print() function is called in line 11, the text is printed as it was originally entered."

A block of code is set as follows:

tank1 = tank.Tank(
"Tank 1",
level=36.0,
fluid_density=DENSITY,
spec_gravity=SPEC_GRAVITY,
outlet_diam=16,
outlet_slope=0.25
)

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

import sys 
  if len(sys.argv) > 1:  # Check if arguments are provided 
      entered_value = sys.argv[1:]  # Capture all arguments except program name 

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

$ python foo.py -f /home/User/Documents

Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select System info from the Administration panel."

Warnings or important notes appear like this.
Tips and tricks appear like this.
主站蜘蛛池模板: 普格县| 九龙县| 高邮市| 闵行区| 宁武县| 思南县| 黄梅县| 定陶县| 磴口县| 宝兴县| 新疆| 隆德县| 罗源县| 赤峰市| 江陵县| 潞西市| 博野县| 邹平县| 孝昌县| 丰都县| 麻江县| 大荔县| 和田县| 周至县| 手游| 临安市| 榆树市| 临猗县| 会同县| 云南省| 肥西县| 南宫市| 精河县| 元阳县| 广昌县| 武强县| 长武县| 枣强县| 利辛县| 邻水| 太和县|