Nov-26-2019, 08:55 PM
I'm not sure why this was moved to 'GUI' section, my problem was about coding but no worries ... I figured it out (I guess, could be better way?)
Because I couldn't get new random variables into variables in my button, I just packed the random variable directly into the lable.
It works now.
Because I couldn't get new random variables into variables in my button, I just packed the random variable directly into the lable.
It works now.
def myClick(): myLabel = Label(root, text=(wwwwwh('WWWWWH.txt')) + " " + (common_conjugated('common_conjugated_nouns.txt')) + " " + (verb('31K_verbs.txt')) + " " + (adverb('6K_adverbs.txt'))) myLabel.pack()