Finishing modules-handling when too many modules

Source: Internet
Author: User
Tags log log

Catalog specification

(1) The canonical wording of the document:

1. bin executable file

2.conf configuration file

3.core Primary business logic

4.db Data files

5.lib Library

6.log log files

7.README description File (one document)

In the above folder you do not need to be the package of your package usually put into Lib but notice that Lib should not be a package, doubt?

# Whether this folder should be a package or a folder, in fact, the problem is to need not to the Init

# The function of Init is to import all the functions in the module inside the package

# by Judging if this function is needed to determine whether it is a package or a folder

(2) Custom program entry

# Summary: The main entry of the program is to add the project's root directory to the environment variable.

(3) # modules used after sub-folders

Finishing modules-handling when too many modules

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.