黄舟2017-04-17 17:57:40
I didn’t answer the question because it was unclear, but I invited...
If you don’t want to change the content of a.py, you can consider directing the output to a text file first and then processing the text python a.py >> out
But I think you should just change the logic of the file a.py and directly store the value of the list where you want to output the list content.
迷茫2017-04-17 17:57:40
Traverse the list directly and process each element with the str function. But generally such verification codes look at the 1s and 0s and identify the graphics through connections.