But if I get your question right you want it t be able to send both ways. I thought the variables from user.py are always callable in the 'scriptname'.py file so only importing from the 'scriptname'.py file to the user.py should be enough. Anyway, my knowledge is too limited to have a good answer.
Hope you find a way to make it work!
Good luck!
Comments
Hi Trololololol,
I am not a programmer but you probably already tried the three options given at https://www.geeksforgeeks.org/how-to-import-variables-from-another-file-...
But if I get your question right you want it t be able to send both ways. I thought the variables from user.py are always callable in the 'scriptname'.py file so only importing from the 'scriptname'.py file to the user.py should be enough. Anyway, my knowledge is too limited to have a good answer.
Hope you find a way to make it work!
Good luck!