目錄(86章)
倒序
- coverpage
- Modular Programming with Python
- Credits
- About the Author
- About the Reviewer
- 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. Introducing Modular Programming
- Introducing Python modules
- Introducing Python packages
- Using modules and packages to organize a program
- Why use modular programming techniques?
- Programming as a process
- The Python Standard Library
- Creating your first module
- Summary
- Chapter 2. Writing Your First Modular Program
- The inventory control system
- Designing the inventory control system
- Implementing the inventory control system
- Summary
- Chapter 3. Using Modules and Packages
- Modules and packages
- Packages within packages
- Initializing a module
- Initializing a package
- How to import anything
- Controlling what gets imported
- Circular dependencies
- Running modules from the command line
- Summary
- Chapter 4. Using Modules for Real-World Programming
- Introducing Charter
- Designing Charter
- Implementing Charter
- The fly in the ointment – changing requirements
- Redesigning Charter
- Refactoring the code
- Lessons learned
- Summary
- Chapter 5. Working with Module Patterns
- Divide and conquer
- Abstraction
- Encapsulation
- Wrappers
- Extensible modules
- Summary
- Chapter 6. Creating Reusable Modules
- Using modules and packages to share your code
- What makes a module reusable?
- What makes a good reusable module?
- Examples of reusable modules
- Designing a reusable package
- Implementing a reusable package
- Testing our reusable package
- Summary
- Chapter 7. Advanced Module Techniques
- Optional imports
- Local imports
- Tweaking imports using sys.path
- Import gotchas
- Using modules and packages with the Python interactive interpreter
- Dealing with global variables
- Package configuration
- Package data
- Summary
- Chapter 8. Testing and Deploying Modules
- Testing modules and packages
- Preparing a module or package for publication
- Uploading your work to GitHub
- Submitting to the Python Package Index
- Using pip to download and install modules and packages
- Summary
- Chapter 9. Modular Programming as a Foundation for Good Programming Technique
- The process of programming
- Dealing with complexity
- Being an effective programmer
- Summary
- Index 更新時間:2021-07-16 10:47:30
推薦閱讀
- Java Web開發學習手冊
- C語言程序設計習題解析與上機指導(第4版)
- 微服務設計原理與架構
- Servlet/JSP深入詳解
- 數據結構簡明教程(第2版)微課版
- 小程序,巧運營:微信小程序運營招式大全
- Mastering Linux Network Administration
- Extending Puppet(Second Edition)
- Android移動開發案例教程:基于Android Studio開發環境
- Learning Node.js for .NET Developers
- TypeScript圖形渲染實戰:2D架構設計與實現
- Java多線程并發體系實戰(微課視頻版)
- 零基礎PHP從入門到精通
- 小學生C++趣味編程從入門到精通
- 美麗洞察力:從化妝品行業看顧客需求洞察
- SQL Server 2014數據庫設計與開發教程(微課版)
- MATLAB/Simulink建模與仿真
- Kubernetes進階實戰(第2版)
- Bioinformatics with Python Cookbook
- 架構師應該知道的37件事
- MySQL高可用實踐
- C語言解惑
- 如虎添翼!數據處理的SPSS和SAS EG實現(第2版)
- C#程序設計自學經典
- 軟件測試實驗教程
- 零基礎學交互設計
- jQuery開發指南
- Lua解釋器構建:從虛擬機到編譯器
- Power BI數據分析:報表設計和數據可視化應用大全
- 重構與模式(修訂版)