oscclient.py 文件源码

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

项目:VKBot 作者: Fogapod 项目源码 文件源码
def start(self):
        self.logging_function(u'??????? ?????? ????', 1, time.time())
        self.start_reading_osc_queue()

        if platform == 'android':
            # self.subprocess = autoclass(
            #     'org.fogaprod.vkbot.dev.ServiceBotservice')
            # mActivity = autoclass(
            #     'org.kivy.android.PythonActivity').mActivity
            # argument = ''
            # self.subprocess.start(mActivity, argument)
            self.subprocess = AndroidService('VKBot', '??? ????????')
            self.subprocess.start('?????? ???????')
        else:
            self.subprocess = subprocess.Popen(
                ['python2.7', 'service/main.py'])

        self.start_requesting_answers_count()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号