【发布时间】:2015-10-12 04:48:34
【问题描述】:
我已经在 Scrapy 框架源代码中看到了这种构造: https://github.com/scrapy/scrapy/blob/master/scrapy/exporters.py#L16-L18
【问题讨论】:
标签: python
我已经在 Scrapy 框架源代码中看到了这种构造: https://github.com/scrapy/scrapy/blob/master/scrapy/exporters.py#L16-L18
【问题讨论】:
标签: python
它定义了当你这样做时要导入的包(模块)的模块(项目):
from package import *
from module import *
详情请见https://docs.python.org/2/tutorial/modules.html#importing-from-a-package。
【讨论】: