main.py 文件源码

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

项目:jjal_downloader 作者: tucuprum 项目源码 文件源码
def BatchAdd(): #?? ?? ??
    def selectBatch(): #?? ?? ?? ?? ??
        ans = batchChoice.get()
        if ans == 'g':
            GallBatch()
        #elif ans == 'i': #????? ?? ???? ?? ???? (??? AnalyzePage?? ???)
        #    InstaBatch()
        # elif ans == 't': #??? ?? ???? ?? ????
        #     TwitterBatch()
        elif ans == 'b':
            TistoryBatch()
        elif ans == 'p':
            NaverPostBatch()
        batchAddRoot.destroy()

    batchAddRoot = Toplevel()
    batchChoice = StringVar()
    batchChoice.set('g')
    radioTexts = [['?????? ??? (??? ??)','g'],
        #['?????','i'],
        ['???? ???','b'],
        ['??? ???','p']
    ]

    ttk.Label(batchAddRoot, text='?? ??? ???? ??????.').pack(padx=GUI_PARAM['LabelPadX'],pady=GUI_PARAM['LabelPadY'])

    for text, code in radioTexts:
        ttk.Radiobutton(batchAddRoot, text=text, variable = batchChoice, value = code).pack(padx=GUI_PARAM['LabelPadX'],anchor=W)

    ttk.Button(batchAddRoot,text='??',command=selectBatch).pack(padx=GUI_PARAM['ButtonPadX'],pady=GUI_PARAM['ButtonPadY'])



#### ?? ?? ?? (tree) ?? ?? ####
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号