- 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.
- DevOps with Kubernetes
- Effective C#:改善C#代碼的50個有效方法(原書第3版)
- Dynamics 365 Application Development
- 少年輕松趣編程:用Scratch創(chuàng)作自己的小游戲
- 算法精粹:經(jīng)典計算機科學(xué)問題的Python實現(xiàn)
- Learning ELK Stack
- Python數(shù)據(jù)分析從0到1
- Highcharts Cookbook
- Test-Driven Machine Learning
- Python 3.7從入門到精通(視頻教學(xué)版)
- 持續(xù)集成與持續(xù)交付實戰(zhàn):用Jenkins、Travis CI和CircleCI構(gòu)建和發(fā)布大規(guī)模高質(zhì)量軟件
- Building Business Websites with Squarespace 7(Second Edition)
- Groovy 2 Cookbook
- Java自然語言處理(原書第2版)
- Node.js 6.x Blueprints