ui.py 文件源码

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

项目:PyPush 作者: VRGhost 项目源码 文件源码
def __init__(self, debug, core, host, port, app_root):
        self.core = core
        self.flask = Flask("PyPush.web",
           static_folder=os.path.join(const.PUSH_WEB_DIR, "static"),
           template_folder=os.path.join(const.PUSH_WEB_DIR, "templates"),
        )

        self.bower = Bower(self.flask)
        self.restful = Api(self.flask)
        self._applyDefaultConfig()
        self.host = host
        self.port = port
        self.debug = debug
        self.flask.config.update(
            APPLICATION_ROOT=app_root,
        )
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号