- 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.
推薦閱讀
- Modular Programming with Python
- 自然語言處理實戰:預訓練模型應用及其產品化
- Bootstrap 4:Responsive Web Design
- 從0到1:Python數據分析
- Getting Started with Laravel 4
- 微服務從小白到專家:Spring Cloud和Kubernetes實戰
- 響應式架構:消息模式Actor實現與Scala、Akka應用集成
- 一本書講透Java線程:原理與實踐
- 軟件測試教程
- Julia 1.0 Programming Complete Reference Guide
- Orchestrating Docker
- Django Design Patterns and Best Practices
- Java Web開發教程:基于Struts2+Hibernate+Spring
- Android初級應用開發
- 計算機系統解密:從理解計算機到編寫高效代碼