Jan-21-2022, 12:59 PM
hello guys, I need some help figuring out a bug in the code.
Basically, I am trying to figure out how to make an entry in tkinter a global variable scope with multiprocessing in the background. I have searched all through StackOverflow been trying to fix this for 2 days.
I have attached my code. Basically, I want that the date entered (start_date_confirmed/start_date) at the start of the program should be able to access in the nested functions(exactly in write_final_data()). But so far no luck.
Usually I get errors that start_date_confirmed not defined OR global variable error. I tried different combinations of declaring global variable and nonlocal variable. But no luck.
Any feedback will be useful. Attached link has the code.
https://www.codepile.net/pile/ox0XKQxg
Basically, I am trying to figure out how to make an entry in tkinter a global variable scope with multiprocessing in the background. I have searched all through StackOverflow been trying to fix this for 2 days.
I have attached my code. Basically, I want that the date entered (start_date_confirmed/start_date) at the start of the program should be able to access in the nested functions(exactly in write_final_data()). But so far no luck.
Usually I get errors that start_date_confirmed not defined OR global variable error. I tried different combinations of declaring global variable and nonlocal variable. But no luck.
Any feedback will be useful. Attached link has the code.
https://www.codepile.net/pile/ox0XKQxg