<div>Sorry, just needing to clarify. As I may have eluded to in other posts, this is sort of a script that was written and I'm making modifications to. Due to my serious lack of experience, I'm afraid to rewrite anything. However, would I accomplish the same result by copying the lists, then breaking them apart with zip()? I haven't used that before, but I'm willing to try it as long as I don't ruin what's already been done. </div> <div> </div> <div>Unfortunately, the link you posted didn't bring up anything. I tried to search google groups and got a bunch of asian text (using comp.lang.py).</div> <div> </div> <div>Again, sorry for my lack of experience here. I do speak C somewhat.</div> <div> </div> <div>Guess I should sign this: </div> <div> </div> <div>HTDI...(hope that didn't irritate!)</div> <div> </div> <div>Sara<BR><BR><B><I>David Perlman <dperlman@wisc.edu></I></B> wrote:</div>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">I think what you want to do is start from the beginning with two <BR>separate lists, sort each one however you want, and then either join <BR>them with zip() or simply reference them as (list1[n], list2[n]).<BR><BR>I believe there's also a way to use zip() to separate your list of <BR>tuples into separate lists, but I don't know how off the top of my <BR>head. You can find out if you follow these instructions though:<BR><BR>Go to<BR>http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&group=comp.lang.py<BR>enter 'zip inverse', and check search Python only.<BR><BR><BR>On Jul 8, 2007, at 6:41 PM, Sara Johnson wrote:<BR><BR>> How would I do that so I wind up with both lists? I have two lists <BR>> now, but if I try and reorder them they just reverse in <BR>> alphabetical order without affecting the second value (the
number).<BR>><BR><BR>--<BR>-dave----------------------------------------------------------------<BR>All I ask is that the kind of unsolvable that it turns out to be has<BR>respectable precedents. -Jerry Fodor<BR><BR><BR>_______________________________________________<BR>Tutor maillist - Tutor@python.org<BR>http://mail.python.org/mailman/listinfo/tutor<BR></BLOCKQUOTE><BR><p> 
<hr size=1><a href="http://us.rd.yahoo.com/evt=48250/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v9.php?o=US2226&cmp=Yahoo&ctv=AprNI&s=Y&s2=EM&b=50">Pinpoint customers </a>who are looking for what you sell.