main.py 文件源码

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

项目:kivy-noveling 作者: liyuanrui 项目源码 文件源码
def start(self):
        if self.chapterurl:
            if encode(self.noveldown.text) != '??':
                dirs=decode(self.noveldir.text).split('/')
                dirs=[i for i in dirs if i]
                #??????
                downdir=encode('/'+'/'.join(dirs))
                if not os.path.exists(downdir):
                    os.makedirs(downdir)
                #??downdir
                self.downdir=downdir+'/'+encode(self.novelname.text)+'.txt'
                self.novelshow.text=self.downdir+'\n'
                self.noveldown.text='??'
                thread.start_new_thread(self.newthread,())
            else:
                self.stop()

        else:
            self.novelshow.text='???????'

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


问题


面经


文章

微信
公众号

扫码关注公众号