- Daniel Arbuckle's Mastering Python
- Daniel Arbuckle
- 114字
- 2021-07-02 21:09:40
Summary
In this chapter, we learned how to create a Python package as a directory on the filesystem and how to mark it with an __init__.py file, so that importing is efficient and we can add package metadata. We looked at adding code modules to a package. We saw how code modules within the same package interact.
We learned how to put together a Python code package that can be used in a program or distributed to other programmers. Soon, we'll see how to turn a package into a complete program as well. In the next chapter, we'll step back a little bit and talk about some best practices for working with Python code.
推薦閱讀
- 微服務設計(第2版)
- C++程序設計(第3版)
- Software Defined Networking with OpenFlow
- Spring技術內幕:深入解析Spring架構與設計
- YARN Essentials
- 差分進化算法及其高維多目標優化應用
- Scala謎題
- Mastering Android Development with Kotlin
- The Professional ScrumMaster’s Handbook
- 軟件工程基礎與實訓教程
- 深入分析GCC
- Ext JS 4 Plugin and Extension Development
- C Primer Plus(第6版)中文版【最新修訂版】
- Learning ECMAScript 6
- Getting Started with the Lazarus IDE