Home  >  Q&A  >  body text

flask - Python框架与框架之间的整合使用?

不知道框架与框架间的整合是怎么一回事,有没有相关的资料?
例如我要整合Flask框架和Scrapy爬虫框架结合起来使用又是怎么实现的呢。
不知各位大神有没有相关的框架整合资料呢?
Thank~ :)

PHPzPHPz2719 days ago592

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-04-17 13:12:14

    Scrapy is considered data collection, which is bound to be a time-consuming task. Generally speaking, you need to have a background scheduling task (such as using Celery, Celery and Flask are naturally integrated).

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-17 13:12:14

    One is for crawlers and the other is a web framework.
    One is used to obtain data, and the other is used to display data.
    Use it casually, there is no integration difficulty at all.
    And it's not integration, it's just combined use.

    reply
    0
  • Cancelreply