python - flatten tuple into csv -


I have an array with the name and id, I've used Python zip and dict works

<
   

which gives me tuples like the following:

  [[[ "F1", "1234" Now, I want to write this id in a column and in the second column to write this template in a CSV file that should be visible. Like:  
  fnames id f1 1234 f2 15234  

Any thoughts or suggestions about doing this?


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -