- Learn Python in 7 Days
- Mohit Bhaskar N. Das
- 165字
- 2021-07-09 20:40:17
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: "The next step is to edit build.properties file."
A block of code is set as follows:
print "Name Marks Age"
print ( "%s %14.2f %11d" % ("John Doe", 80.67, 27))
print ( "%s %12.2f %11d" %("Bhaskar" ,76.901, 27))
print ( "%s %3.2f %11d" %("Mohit", 56.98, 25))
Any command-line input or output is written as follows:
$ brew install python
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: "Once done, click on Activate."
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
推薦閱讀
- Go Web編程
- Android應(yīng)用程序開(kāi)發(fā)與典型案例
- C# 2012程序設(shè)計(jì)實(shí)踐教程 (清華電腦學(xué)堂)
- Web Scraping with Python
- Microsoft Dynamics 365 Extensions Cookbook
- Java FX應(yīng)用開(kāi)發(fā)教程
- HTML5+CSS3基礎(chǔ)開(kāi)發(fā)教程(第2版)
- IBM Cognos Business Intelligence 10.1 Dashboarding cookbook
- Julia for Data Science
- Canvas Cookbook
- 算法秘籍
- C++17 By Example
- Python高性能編程(第2版)
- 用Go語(yǔ)言自制編譯器
- Mastering Unity Scripting