- 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.
推薦閱讀
- 嵌入式軟件系統測試:基于形式化方法的自動化測試解決方案
- 移動UI設計(微課版)
- JavaScript+DHTML語法與范例詳解詞典
- AngularJS Web Application Development Blueprints
- 趣學Python算法100例
- iOS開發實戰:從零基礎到App Store上架
- Rust Cookbook
- 網店設計看這本就夠了
- JavaScript by Example
- Visual Basic程序設計實驗指導(第4版)
- Building a Quadcopter with Arduino
- Working with Odoo
- Python Machine Learning Blueprints:Intuitive data projects you can relate to
- 進入IT企業必讀的324個Java面試題
- After Effects CC案例設計與經典插件(視頻教學版)