openweathermap.py 文件源码

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

项目:my-weather-indicator 作者: atareao 项目源码 文件源码
def work(self):
        while Gtk.events_pending():
            Gtk.main_iteration()
        # again = False
        msg = self.web_recv()
        if msg:
            try:
                msg = from_json(msg)
                print('This is the message %s' % (msg))
            except BaseException:
                msg = None
            # again = True
        if msg == 'exit':
            self.close_application(None)

    # ###################################################################
    # ########################BROWSER####################################
    # ###################################################################
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号