Home  >  Article  >  Backend Development  >  最近接触了Scrapy,多个类(如:pipeline)写在同一个文件内,是否合理?

最近接触了Scrapy,多个类(如:pipeline)写在同一个文件内,是否合理?

WBOY
WBOYOriginal
2016-06-06 20:46:16987browse

PHP的编码规范是:一个类单独写在一个文件内。python有这样的规范么??

回复内容:

PHP的编码规范是:一个类单独写在一个文件内。python有这样的规范么??

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn