- 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.
推薦閱讀
- 零基礎(chǔ)搭建量化投資系統(tǒng):以Python為工具
- Objective-C應(yīng)用開發(fā)全程實(shí)錄
- Windows系統(tǒng)管理與服務(wù)配置
- C#編程入門指南(上下冊(cè))
- 動(dòng)手玩轉(zhuǎn)Scratch3.0編程:人工智能科創(chuàng)教育指南
- Oracle BAM 11gR1 Handbook
- 編程數(shù)學(xué)
- Python極簡(jiǎn)講義:一本書入門數(shù)據(jù)分析與機(jī)器學(xué)習(xí)
- Java Web開發(fā)就該這樣學(xué)
- .NET Standard 2.0 Cookbook
- 編程可以很簡(jiǎn)單
- SQL Server 入門很輕松(微課超值版)
- Python開發(fā)基礎(chǔ)
- 深度實(shí)踐KVM:核心技術(shù)、管理運(yùn)維、性能優(yōu)化與項(xiàng)目實(shí)施
- OpenCV 3.0 Computer Vision with Java