<br><br><div class="gmail_quote">On Thu, Jun 18, 2009 at 5:24 AM, yadin <span dir="ltr"><<a href="mailto:conra2004@yahoo.com">conra2004@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Good day every one!<br>
<br>
I got this python program that returns me a set like this..<br>
Set ([‘A\n’, B\n’, ‘C\n’, ‘D\n’, ‘E\n’, ‘F\n’, ‘G\n’ ])<br>
And a list pp = [‘100\n’ ‘200\n’ ‘300\n’ ‘400\n’]<br>
I was reading this from a file….<br>
How can I transform this to something that looks like this<br>
Column1 Column 2<br>
<br>
100 A<br>
200 B<br>
300 C<br>
400 D<br>
E<br>
F<br>
G<br>
And then write this to a file???<br>
thank you for taking your time!!!<br>
<font color="#888888"></font></blockquote><div><br>I don't think you can. A set doesn't maintain order so you couldn't count on it being returned in a particular order.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font color="#888888"><br>
--<br>
<a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br>
</font></blockquote></div><br>