unixfs.py 文件源码

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

项目:python3-ipfs-api 作者: jgraef 项目源码 文件源码
def open(self, mode = "r"):
        """
        Open the file.

        :param mode: The mode to open the file in. See :py:func:`io.open` for
                     documentation.
        """

        mode = ModeParser(mode)
        mode.parse()
        f = FileStream(self, mode)
        #f = io.BufferedRandom(f)
        if (mode.text):
            f = io.TextIOWrapper(f)
        return f
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号