资讯

This post explains what a Python module is and how to use it to drastically extend the capabiltiies of your code. Plus: how to make your own!
Python eggs require site.py to be processed in order to do all the necessary setup. If that didn't happen, then adding the egg to sys.path won't work AFAIK. Due to PTH processing and the like ...
If you've read a fair amount of Python code, then you've probably seen this "__init__.py" file pop up quite a few times. It's especially common in larger Python projects. I'm going to breakdown ...