- 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.
推薦閱讀
- 流量的秘密:Google Analytics網(wǎng)站分析與優(yōu)化技巧(第2版)
- Python機(jī)器學(xué)習(xí):數(shù)據(jù)分析與評(píng)分卡建模(微課版)
- C語(yǔ)言程序設(shè)計(jì)(第2 版)
- Instant Apache Stanbol
- PHP+MySQL網(wǎng)站開發(fā)項(xiàng)目式教程
- AutoCAD VBA參數(shù)化繪圖程序開發(fā)與實(shí)戰(zhàn)編碼
- Building Minecraft Server Modifications
- Modern JavaScript Applications
- Elasticsearch Server(Third Edition)
- Mastering React
- 軟件體系結(jié)構(gòu)
- Visual FoxPro 6.0程序設(shè)計(jì)
- QPanda量子計(jì)算編程
- Python Digital Forensics Cookbook
- Puppet:Mastering Infrastructure Automation