helpers.py 文件源码

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

项目:pyvips 作者: jcupitt 项目源码 文件源码
def temp_filename(directory, suffix):
    temp_name = next(tempfile._get_candidate_names())
    filename = os.path.join(directory, temp_name + suffix)

    return filename


# run a 2-ary function on two things -- loop over elements pairwise if the
# things are lists
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号