- 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.
推薦閱讀
- C++面向?qū)ο蟪绦蛟O(shè)計(第三版)
- 微信公眾平臺與小程序開發(fā):從零搭建整套系統(tǒng)
- Visual FoxPro程序設(shè)計教程(第3版)
- OpenCV for Secret Agents
- Mastering matplotlib
- Web Application Development with MEAN
- Mastering Unity Shaders and Effects
- Oracle從入門到精通(第5版)
- 精通MATLAB(第3版)
- Visual Basic程序設(shè)計實踐教程
- Salesforce Reporting and Dashboards
- Learning AngularJS for .NET Developers
- Android嵌入式系統(tǒng)程序開發(fā):基于Cortex-A8(第2版)
- Xcode 6 Essentials
- Go語言入門經(jīng)典