- Hands-On Software Engineering with Python
- Brian Allbee
- 189字
- 2021-06-24 18:20:29
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: "Within the src directory is the package tree for the project."
A block of code is set as follows:
def SetNodeResource(x, y, z, r, v): n = get_node(x,y) n.z = z n.resources.add(r, v)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
def __private_method(self, arg, *args, **kwargs): print('%s.__private_method called:' % self.__class__.__name__) print('+- arg ...... %s' % arg) print('+- args ..... %s' % str(args)) print('+- kwargs ... %s' % kwargs)
Any command-line input or output is written as follows:
$python setup.py test
Bold: Indicates a new term, an important word, or words that you see on the screen, for example, in menus or dialog boxes, also appear in the text like this. For example: "Select System info from the Administration panel."
Warnings or important notes appear like this.
Tips and tricks appear like this.
推薦閱讀
- 人工智能超越人類
- Learning Apache Spark 2
- 大數(shù)據(jù)時代的數(shù)據(jù)挖掘
- 數(shù)據(jù)挖掘?qū)嵱冒咐治?/a>
- 可編程控制器技術(shù)應(yīng)用(西門子S7系列)
- 數(shù)據(jù)挖掘方法及天體光譜挖掘技術(shù)
- 四向穿梭式自動化密集倉儲系統(tǒng)的設(shè)計與控制
- Hybrid Cloud for Architects
- 悟透AutoCAD 2009完全自學手冊
- Storm應(yīng)用實踐:實時事務(wù)處理之策略
- Linux服務(wù)與安全管理
- Mastering ServiceNow Scripting
- 基于神經(jīng)網(wǎng)絡(luò)的監(jiān)督和半監(jiān)督學習方法與遙感圖像智能解譯
- Silverlight 2完美征程
- 電腦上網(wǎng)入門