- Secret Recipes of the Python Ninja
- Cody Jackson
- 159字
- 2021-06-25 22:14:37
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: "The sqrt(x) function returns the √x."
A block of code is set as follows:
def print_funct(arg): print(arg) if __name__ == "__main__": import sys print_funct(sys.argv[1])
Any command-line input or output is written as follows:
>>> import random
>>> random.randint(0, 1000)
607
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "For example, during the creation of this book, this author had a problem creating a PDF copy of the Tutorial, because an error kept occurring when converting the EPS images to PDF images."
Warnings or important notes appear like this.
Tips and tricks appear like this.
- LabVIEW Graphical Programming Cookbook
- 新一代通用視頻編碼H.266/VVC:原理、標(biāo)準(zhǔn)與實(shí)現(xiàn)
- 深入淺出Spring Boot 2.x
- Silverlight魔幻銀燈
- D3.js 4.x Data Visualization(Third Edition)
- Spring Boot Cookbook
- Learning DHTMLX Suite UI
- Instant Debian:Build a Web Server
- ASP.NET求職寶典
- Learning D
- 大規(guī)模語(yǔ)言模型開(kāi)發(fā)基礎(chǔ)與實(shí)踐
- Enterprise Application Architecture with .NET Core
- 歐姆龍PLC編程指令與梯形圖快速入門(mén)
- Learning GraphQL and Relay
- Analytics for the Internet of Things(IoT)