舉報

會員
Mastering Python
最新章節:
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 更新時間:2021-07-16 11:10:49
推薦閱讀
- JavaScript前端開發模塊化教程
- ExtGWT Rich Internet Application Cookbook
- Raspberry Pi for Python Programmers Cookbook(Second Edition)
- 體驗設計原理:行為、情感和細節
- Learn Programming in Python with Cody Jackson
- Hands-On Swift 5 Microservices Development
- Highcharts Cookbook
- Scientific Computing with Scala
- Hands-On Kubernetes on Windows
- 微信小程序開發實戰:設計·運營·變現(圖解案例版)
- Oracle實用教程
- C編程技巧:117個問題解決方案示例
- 測試架構師修煉之道:從測試工程師到測試架構師
- ASP.NET 4.0 Web程序設計
- Java程序設計教程
- Java面向對象程序設計教程
- Unity虛擬現實開發圣典
- Access 2010數據庫教程(微課版)
- Python機器學習技術:模型關系管理
- 嵌入式Linux C語言程序設計基礎教程(微課版)
- Professional Azure SQL Database Administration
- Meteor Design Patterns
- Instant RubyMine Assimilation
- 深入理解Go語言
- Robotic Process Automation Projects
- Java游戲編程原理與實踐教程
- Clojure Web開發實戰
- PrimeFaces Theme Development
- Java EE輕量級框架應用開發教程
- Scratch 3.0趣味編程精彩實例