舉報

會員
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
推薦閱讀
- PHP動態網站程序設計
- Java 9 Concurrency Cookbook(Second Edition)
- 騰訊iOS測試實踐
- 單片機C語言程序設計實訓100例:基于STC8051+Proteus仿真與實戰
- Java應用開發與實踐
- Mastering Kali Linux for Web Penetration Testing
- C程序設計案例教程
- MongoDB權威指南(第3版)
- Learning JavaScript Data Structures and Algorithms
- Swift細致入門與最佳實踐
- App Inventor創意趣味編程進階
- Python大學實用教程
- ExtJS Web應用程序開發指南第2版
- Java7程序設計入門經典
- 零基礎輕松學C++:青少年趣味編程(全彩版)
- Practical Predictive Analytics
- Mastering SciPy
- 數據結構:Python語言描述
- Less Web Development Cookbook
- Visual FoxPro程序設計習題及實驗指導
- jQuery基礎教程(第4版)
- Python大數據與機器學習實戰
- Go語言從入門到進階實戰(視頻教學版)
- ROS Robotics Projects
- Mastering Android Application Development
- Python+Excel職場辦公數據分析
- 大學計算機應用基礎
- Android 6 Essentials
- 圖解CSS3:核心技術與案例實戰
- Modern C++ Programming Cookbook