Jul-20-2019, 02:18 AM
(This post was last modified: Jul-20-2019, 02:24 AM by soothsayerpg.)
Let's say I have:
![[Image: 1scoYhF.png]](https://i.imgur.com/1scoYhF.png)
What I want to write is:
![[Image: 2B4JODZ.png]](https://i.imgur.com/2B4JODZ.png)
Hope you can help me out guys and Thanks in advance for your suggestions!
NOTE: It seems the
l = ['Washington, 98373, USA', 'Arlington, WA, 98223, USA', 'Soap Lake, Washington, 98851, USA']What I'm doing is just typical writing
with open('results.csv', 'w', newline='') as f: f.write(str(l))NOTE: I probably cannot write with a list, giving me error(s):
TypeError: write() argument must be str, not listSo my csv would like like:
![[Image: 1scoYhF.png]](https://i.imgur.com/1scoYhF.png)
What I want to write is:
![[Image: 2B4JODZ.png]](https://i.imgur.com/2B4JODZ.png)
Hope you can help me out guys and Thanks in advance for your suggestions!
NOTE: It seems the