Posts by james lima • 1 point
1 post
-
-1
votes1
answer33
viewsQ: add value to a list inside a file
I created a file inside that file has the lista["hello"] I tried to add a new item to the list with the following code import subprocess et = open("/root/projeto/a.py").read() exec(et)…
python-3.xasked james lima 1