0

Hello i like to execute another py module by pressing a button, so far i cant get it to work, and this is what i have.

   def callback():
       exececfile('JSONandDB')
   b3 = Button(root, text='Import', command=callback) 
   b3.pack(side=RIGHT,padx=10, pady=12)
Jacob
  • 3
  • 2

0 Answers0