package_linter.py 文件源码

python
阅读 28 收藏 0 点赞 0 评论 0

项目:package_linter 作者: YunoHost 项目源码 文件源码
def read_file(file_path):
    f = open(file_path)
    # remove every comments and empty lines from the file content to avoid
    # false positives
    file = shlex.shlex(f, False)
    #file = filter(None, re.sub("#.*[^\n]", "", f.read()).splitlines())
    return file
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号