- 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.
推薦閱讀
- GeoServer Cookbook
- SpringMVC+MyBatis快速開發與項目實戰
- Mastering Kotlin
- The React Workshop
- Nexus規模化Scrum框架
- Node.js全程實例
- The DevOps 2.5 Toolkit
- RabbitMQ Cookbook
- Babylon.js Essentials
- 深入剖析Java虛擬機:源碼剖析與實例詳解(基礎卷)
- Struts 2.x權威指南
- Data Science Algorithms in a Week
- Shopify Application Development
- Python Automation Cookbook
- Raspberry Pi Blueprints