登入
選單
返回
Google圖書搜尋
Mastering Python
Aaron Brookes
出版
CreateSpace Independent Publishing Platform
, 2017-08-28
主題
Computers / Languages / Python
ISBN
1979721424
9781979721424
URL
http://books.google.com.hk/books?id=hCx_swEACAAJ&hl=&source=gbs_api
註釋
This book is an authoritative guide that will help you learn new advanced methods in a clear and contextualised way. It starts off by creating a project-specific environment using venv, introducing you to different Pythonic syntax and common pitfalls before moving on to cover the functional features in Python. It covers how to create different decorators, generators, and metaclasses. It also introduces you to functools.wraps and coroutines and how they work. Later on you will learn to use asyncio module for asynchronous clients and servers. You will also get familiar with different testing systems such as py.test, doctest, and unittest, and debugging tools such as Python debugger and faulthandler. You will learn to optimize application performance so that it works efficiently across multiple machines and Python versions. Finally, it will teach you how to access C functions with a simple Python call. By the end of the book, you will be able to write more advanced scripts and take on bigger challenges.