kbc_alt.py 436 B

1234567891011121314151617181920212223242526272829303132
  1. # ----- Pre notes
  2. # err 0: correct config not found
  3. # err 1: correct DB not found
  4. # -----
  5. def pause():
  6. input("pausing, press any key to continue: ")
  7. # exit()
  8. def Err(errCode, sec_respond:bool=False):
  9. if errCode == 0:
  10. print("err 0: syntax error")
  11. elif errCode == 1:
  12. print("err 1: ")
  13. elif errCode == 2:
  14. pass
  15. pause()
  16. # exit()
  17. def Warn():
  18. pass
  19. def sec_response():
  20. pass