MCPcopy Index your code
hub / github.com/geekcomputers/Python / Total_money

Function Total_money

bank_managment_system/frontend.py:1055–1083  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1053
1054
1055def Total_money():
1056 def back_to_main_page1_from_total_money():
1057 all_money.grid_forget()
1058 page1()
1059
1060 page1_frame.grid_forget()
1061
1062 all = backend.all_money()
1063
1064 global all_money
1065 all_money = Frame(tk)
1066 all_money.grid(padx=500, pady=300)
1067
1068 label = Label(all_money, text="Total Amount of money")
1069 label.grid(row=0, pady=6)
1070
1071 label = Label(all_money, text="{}".format(all))
1072 label.grid(row=1)
1073
1074 button = Button(
1075 all_money,
1076 text="Back",
1077 command=back_to_main_page1_from_total_money,
1078 width=15,
1079 height=2,
1080 )
1081 button.grid(row=3)
1082
1083 mainloop()
1084
1085
1086def back_to_main():

Callers

nothing calls this directly

Calls 1

all_moneyMethod · 0.80

Tested by

no test coverage detected