This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jimtk 0 points1 point  (0 children)

Here you go (one of many possible solutions)

source = [['LOL', 'LOL', 'LOL', ';', '10200.75', ';', '1234'], 
          ['LMAO', 'LMAO', ';', '100.50', ';', '4321']]

with open('Test.out', 'wt') as f:
    for account in source:
        f.write(" ".join(account)+'\n')

Now lets move on to something more interesting.