"""
这个会报错，但我不知道为啥，而且好像不影响使用
The system cannot find the path specified.
"""

import os
import constants

PATH = constants.PATH
crawler = str(PATH / "crawler.py")
url_and_href = str(PATH / "url_and_href.py")
get_comments = str(PATH / "get_comments.py")
parse_comment = str(PATH / "parse_comment.py")
for cmd in (crawler, url_and_href, get_comments, parse_comment):
    os.system("python " + cmd)

"""
这个会报错，但我不知道为啥，而且好像不影响使用
The system cannot find the path specified.
"""

import os
import constants

PATH = constants.PATH
crawler = str(PATH / "crawler.py")
url_and_href = str(PATH / "url_and_href.py")
get_comments = str(PATH / "get_comments.py")
parse_comment = str(PATH / "parse_comment.py")
for cmd in (crawler, url_and_href, get_comments, parse_comment):
    os.system("python " + cmd)

这个会报错，但我不知道为啥，而且好像不影响使用 The system cannot find the path specified.