+ 2
Is it possible to manipulate an empty dictionary (created in one file) from another code?
Assuming a file test.py contains an empty dictionary, can one update its contents from another file work.py? If yes, please how?
2 Respuestas
+ 6
Check out the code below. It will give you an idea on how to alter a code in another file (and even run it afterwards, if you need ;)
https://code.sololearn.com/c5f76DBYhYSO/?ref=app
+ 2
Thanks a lot @kuba , let me study it now.