舉報(bào)

會(huì)員
Mastering Python
最新章節(jié):
Index
Almostanyonecanlearntowriteworkingscriptandcreatehighqualitycodebuttheymightlackastructuredunderstandingofwhatitmeanstobe'Pythonic'.IfyouareaPythonprogrammerwhowantstocodeefficientlybygettingthesyntaxandusageofafewintricatePythontechniquesexactlyright,thisbookisforyou.
目錄(105章)
倒序
- coverpage
- Mastering Python
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- eBooks discount offers and more
- Preface
- What this book covers
- What you need for this book
- Who this book is for
- Conventions
- Reader feedback
- Customer support
- Chapter 1. Getting Started – One Environment per Project
- Creating a virtual Python environment using venv
- Bootstrapping pip using ensurepip
- Installing C/C++ packages
- Summary
- Chapter 2. Pythonic Syntax Common Pitfalls and Style Guide
- Code style – or what is Pythonic code?
- Common pitfalls
- Summary
- Chapter 3. Containers and Collections – Storing Data the Right Way
- Time complexity – the big O notation
- Core collections
- Advanced collections
- Summary
- Chapter 4. Functional Programming – Readability Versus Brevity
- Functional programming
- list comprehensions
- dict comprehensions
- set comprehensions
- lambda functions
- functools
- itertools
- Summary
- Chapter 5. Decorators – Enabling Code Reuse by Decorating
- Decorating functions
- Decorating class functions
- Decorating classes
- Useful decorators
- Summary
- Chapter 6. Generators and Coroutines – Infinity One Step at a Time
- What are generators?
- Coroutines
- Summary
- Chapter 7. Async IO – Multithreading without Threads
- Introducing the asyncio library
- Summary
- Chapter 8. Metaclasses – Making Classes (Not Instances) Smarter
- Dynamically creating classes
- Abstract classes using collections.abc
- Automatically registering a plugin system
- Order of operations when instantiating classes
- Storing class attributes in definition order
- Summary
- Chapter 9. Documentation – How to Use Sphinx and reStructuredText
- The reStructuredText syntax
- The Sphinx documentation generator
- Documenting code
- Summary
- Chapter 10. Testing and Logging – Preparing for Bugs
- Using examples as tests with doctest
- Testing with py.test
- Mock objects
- Logging
- Summary
- Chapter 11. Debugging – Solving the Bugs
- Non-interactive debugging
- Interactive debugging
- Summary
- Chapter 12. Performance – Tracking and Reducing Your Memory and CPU Usage
- What is performance?
- Timeit – comparing code snippet performance
- cProfile – finding the slowest components
- Line profiler
- Improving performance
- Memory usage
- Performance monitoring
- Summary
- Chapter 13. Multiprocessing – When a Single CPU Core Is Not Enough
- Multithreading versus multiprocessing
- Hyper-threading versus physical CPU cores
- Creating a pool of workers
- Sharing data between processes
- Remote processes
- Summary
- Chapter 14. Extensions in C/C++ System Calls and C/C++ Libraries
- Introduction
- Calling C/C++ with ctypes
- CFFI
- Native C/C++ extensions
- Summary
- Chapter 15. Packaging – Creating Your Own Libraries or Applications
- Installing packages
- Setup parameters
- Packages
- Entry points
- Package data
- Testing packages
- C/C++ extensions
- Wheels – the new eggs
- Summary
- Index 更新時(shí)間:2021-07-16 11:10:49
推薦閱讀
- C語(yǔ)言從入門到精通(第4版)
- Unity Shader入門精要
- C語(yǔ)言程序設(shè)計(jì)
- Big Data Analytics
- Swift語(yǔ)言實(shí)戰(zhàn)精講
- Selenium Testing Tools Cookbook(Second Edition)
- 劍指大數(shù)據(jù):企業(yè)級(jí)數(shù)據(jù)倉(cāng)庫(kù)項(xiàng)目實(shí)戰(zhàn)(在線教育版)
- C專家編程
- Python3.5從零開始學(xué)
- 精通MySQL 8(視頻教學(xué)版)
- 創(chuàng)意UI:Photoshop玩轉(zhuǎn)APP設(shè)計(jì)
- Arduino機(jī)器人系統(tǒng)設(shè)計(jì)及開發(fā)
- .NET 4.0面向?qū)ο缶幊搪劊簯?yīng)用篇
- Python 3快速入門與實(shí)戰(zhàn)
- 從零開始學(xué)Unity游戲開發(fā):場(chǎng)景+角色+腳本+交互+體驗(yàn)+效果+發(fā)布
- MySQL核心技術(shù)與最佳實(shí)踐
- Leaflet.js Essentials
- 交互設(shè)計(jì)語(yǔ)言:與萬(wàn)物對(duì)話的藝術(shù)(全兩冊(cè))
- Web 2.0策略指南
- PHP程序員面試算法寶典
- Django 3 Web應(yīng)用開發(fā)從零開始學(xué)(視頻教學(xué)版)
- Learning PowerShell DSC
- 大學(xué)計(jì)算機(jī)基礎(chǔ)教程
- Python 3反爬蟲原理與繞過(guò)實(shí)戰(zhàn)
- 從零開始:HTML5+CSS3快速入門教程
- 零基礎(chǔ)學(xué)ASP.NET 3.5
- PHP編程入門指南(全2冊(cè))
- Learning Linux Shell Scripting
- Kali Linux 2:Assuring Security by Penetration Testing(Third Edition)
- 編寫整潔的Python代碼