- Python Microservices Development
- Tarek Ziadé
- 167字
- 2021-07-02 18:54:16
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 only hint we're using async is the async keyword, which marks the handle function as being a coroutine."
A block of code is set as follows:
import time
def application(environ, start_response):
headers = [('Content-type', 'application/json')]
start_response('200 OK', headers)
return bytes(json.dumps({'time': time.time()}), 'utf8')
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
from greenlet import greenlet
def test1(x, y):
z = gr2.switch(x+y)
print(z)
Any command-line input or output is written as follows:
docker-compose up
New terms and important words are shown in bold.
Warnings or important notes appear like this.
Tips and tricks appear like this.
推薦閱讀
- Android Wearable Programming
- The DevOps 2.3 Toolkit
- Blender 3D Incredible Machines
- HTML5+CSS3+JavaScript Web開發(fā)案例教程(在線實(shí)訓(xùn)版)
- GeoServer Beginner's Guide(Second Edition)
- 從零開始學(xué)C語言
- Getting Started with LLVM Core Libraries
- Swift 4 Protocol-Oriented Programming(Third Edition)
- Solr Cookbook(Third Edition)
- Java程序設(shè)計(jì)案例教程
- C++程序設(shè)計(jì)
- Visual C++程序設(shè)計(jì)與項(xiàng)目實(shí)踐
- Java程序設(shè)計(jì)教程
- 高效使用Greenplum:入門、進(jìn)階與數(shù)據(jù)中臺(tái)
- Java語言程序設(shè)計(jì)實(shí)用教程(第2版)