I had a bug that I reduced down to this:
a = ['a','b','c']
print( "Before", a )
" ".join(a)
print( "After", a )
Which outputs this:
runfile('C:/program.py', wdir=r'C:/')
Before ['a', 'b', 'c']
After ['a', 'b', 'c']
What's going on here?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…