base.py 文件源码

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

项目:siphon-cli 作者: getsiphon 项目源码 文件源码
def set_info(self, k, v):
        """
        Set a value for a given key in an app's base project info.plist
        """
        info = self.get_info()

        with open(self.info, 'wb') as f:
            # Note that we have to write the entire contents to the file.
            # so we load the current data, add whatever we need to it then
            info[k] = v
            plistlib.dump(info, f)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号