I am writing python, but I find that the I can put all the script files on the directory, but it seems very messy. So, is there any conventions in the community to deal with the script files? Thanks.
closed as not a real question by gnat, BЈовић, Kilian Foth, Martijn Pieters, Giorgio Mar 5 at 9:54
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.
I can't speak for other languages, but Python has an extended packaging story.
Generally, you divide your project up in reusable components, and package them up in that manner. Metadata included with the
Python provides a central package index to help discover and distribute such packages; for internal and customer releases we use a simple directory shared over the web and password protected through an Apache server.
Within a python package, you can still provide further structure using sub-directories, where each such directory is a nested package if there is an
I can heartily recommend the Hitchhiker’s Guide to Packaging; even though it is a document-in-progress, it is already a very enlightening tutorial on how to properly package and distribute your python code to others or for internal distribution.