base.py 文件源码

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

项目:zoocore 作者: dsparrow27 项目源码 文件源码
def _init(self):
        """Initializes some basic info about the plugin and the use environment
        Internal use only:
        """
        try:
            path = inspect.getfile(self.command.__class__)
        except:
            path = ""

        self.info.update({"id": self.command.id,
                          "creator": self.command.creator,
                          "module": self.command.__class__.__module__,
                          "filepath": path,
                          "application": env.application()
                          })
        self.info.update(env.machineInfo())
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号