- 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."
- ReSharper Essentials
- Visual Studio 2012 Cookbook
- 新一代通用視頻編碼H.266/VVC:原理、標準與實現
- Java高手真經(高級編程卷):Java Web高級開發技術
- 實戰Java程序設計
- 高級C/C++編譯技術(典藏版)
- 教孩子學編程:C++入門圖解
- SAS數據統計分析與編程實踐
- bbPress Complete
- PySide 6/PyQt 6快速開發與實戰
- Visual Basic程序設計教程
- Python High Performance Programming
- 深入剖析Java虛擬機:源碼剖析與實例詳解(基礎卷)
- Unity 2018 Augmented Reality Projects
- C語言程序設計實踐