- Mastering Concurrency in Python
- Quan Nguyen
- 183字
- 2021-06-10 19:23:52
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 asyncio module provides a number of different transport classes."
A block of code is set as follows:
async def main(url):
async with aiohttp.ClientSession() as session:
await download_html(session, url)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
urls = [
'http://packtpub.com',
'http://python.org',
'http://docs.python.org/3/library/asyncio',
'http://aiohttp.readthedocs.io',
'http://google.com'
]
Any command-line input or output is written as follows:
> python3 example5.py
Took 0.72 seconds.
Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "To download the repository, simply click on the Clone or download button in the top-right corner of your window."
- LaTeX Cookbook
- Kibana Essentials
- Practical Game Design
- Reactive Programming With Java 9
- Python貝葉斯分析(第2版)
- Hands-On Reinforcement Learning with Python
- Spring 5 Design Patterns
- Application Development with Parse using iOS SDK
- 微前端設(shè)計與實現(xiàn)
- 實驗編程:PsychoPy從入門到精通
- Clojure for Finance
- Vue.js 3.x高效前端開發(fā)(視頻教學(xué)版)
- RESTful Web API Design with Node.js(Second Edition)
- Swift 2 Design Patterns
- C#程序設(shè)計基礎(chǔ)與實踐