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

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

WBOY
Release: 2016-06-06 20:46:16
Original
1028 people have browsed it

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

回复内容:

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template