+ 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?

5th Jun 2017, 4:00 PM
C H U K W U E B U K A
C H U K W U E B U K A - avatar
2 Answers
+ 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
5th Jun 2017, 4:05 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 2
Thanks a lot @kuba , let me study it now.
5th Jun 2017, 4:32 PM
C H U K W U E B U K A
C H U K W U E B U K A - avatar