plantilla de pimen

from pymenu import *

def button1():
  print('You pressed the button 1')
  return

def button2():
  print('You pressed the button 2')

def menu():
  pymenu.set_header('PYMENU', 'Thats an PyMenu Example')
  pymenu.add_button('1', 'button 1')
  pymenu.add_button('2', 'button 2')
  
  pymenu.interaction('1', button1())
  pymenu.interaction('2', button2())
  
  pymenu.set_footer('this is the footer')
  
if __name__ == "__main__":
  menu()
Hayoto Dev