please help...writing set to a file

yadin conra2004 at yahoo.com
Thu Jun 18 11:24:39 CEST 2009


Good day every one!

I got this python program that returns me a set like this..
Set ([‘A\n’, B\n’, ‘C\n’, ‘D\n’, ‘E\n’, ‘F\n’, ‘G\n’ ])
And a list pp = [‘100\n’ ‘200\n’ ‘300\n’ ‘400\n’]
I was reading this from a file….
How can I transform this to something that looks like this
Column1 Column 2

  100              A
   200             B
   300             C
    400            D
	     E
	     F
                     G
And then write this to a file???
thank you for taking your time!!!




More information about the Python-list mailing list