MCPcopy Create free account
hub / github.com/geekcomputers/Python / update_address_in_database

Function update_address_in_database

bank_managment_system/frontend.py:513–525  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

511 def update_address():
512 # def a function eho updates name in database
513 def update_address_in_database():
514 new_address = entry_name.get()
515 if len(new_address) != 0:
516 # function in backend that updates name in table
517 backend.update_address_in_bank_table(new_address, acc_no)
518 entry_name.destroy()
519 submit_button.destroy()
520 address_label.destroy()
521 else:
522 tkinter.messagebox.showinfo("Error", "Please fill address")
523 entry_name.destroy()
524 submit_button.destroy()
525 address_label.destroy()
526
527 global address_label
528

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected