GrabDump.py 文件源码

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

项目:PhonePerformanceMeasure 作者: KyleCe 项目源码 文件源码
def convert_and_store(file_or_path):
    """

    :param file_or_path: use a single file with full path or a full path
    all the files end with under the path will be converted and store into directory named with the file name
    """
    if not os.path.isdir(file_or_path):
        convert_file_into_directory(file_or_path)
    else:
        for filename in os.listdir(file_or_path):
            if filename.endswith(Res.hprof_suffix):
                convert_file_into_directory(os.path.join(file_or_path, filename))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号