- Daniel Arbuckle's Mastering Python
- Daniel Arbuckle
- 204字
- 2021-07-02 21:09:28
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: "Using a name variable to look up the stored value is an expression; so is running a function."
A block of code is set as follows:
def example_function(name, radius):
area = math.pi * radius ** 2
return "The area of {} is {}" .format(name, area)
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 example_function(name, radius):
area = math.pi * radius ** 2
return "The area of {} is {}" .format(name, area)
Any command-line input or output is written as follows:
python3 example_1_2_3.py
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: "Click on Environments Variables...."
- 多媒體CAI課件設計與制作導論(第二版)
- LabVIEW2018中文版 虛擬儀器程序設計自學手冊
- 軟件測試工程師面試秘籍
- DevOps入門與實踐
- Mastering Apache Spark 2.x(Second Edition)
- HTML5從入門到精通 (第2版)
- 區塊鏈技術與應用
- Learning AngularJS for .NET Developers
- 從零開始:UI圖標設計與制作(第3版)
- Java Web開發實例大全(基礎卷) (軟件工程師開發大系)
- Django Design Patterns and Best Practices
- UX Design for Mobile
- JavaScript Unit Testing
- Microsoft Windows Identity Foundation Cookbook
- Java核心技術速學版(第3版)