hello , i have a file this a structure like this XXXXXXXXX XXXX| 0000000000000.00| 0000000088115.39| XXXXXXXXX XXXX| 0000000090453.29| 0000000000000.00| XXXXXXXXX XXXX| 0000000000000.00| 0000000090443.29| XXXXXXXXX XXXX| 0000000088115.39| 0000000000000.00| XXXXXXXXX XXXX| 0000000000000.00| 0000000088335.39| XXXXXXXXX XXXX| 0000000090453.29| 0000000000000.00| XXXXXXXXX XXXX| 0000000088335.39| 0000000000000.00| XXXXXXXXX XXXX| 0000000090443.29| 0000000000000.00|
now i need re-arrange the file in this way: XXXXXXXXX XXXX| 0000000000000.00| 0000000088115.39| XXXXXXXXX XXXX| 0000000088115.39| 0000000000000.00| XXXXXXXXX XXXX| 0000000000000.00| 0000000090453.29| XXXXXXXXX XXXX| 0000000090453.29| 0000000000000.00| etc.... i try this http://pastebin.com/2mvxn5GY but without look maybe somebody can give some hint , i know that this is maybe not a directly python question but if somebody can help me I will appreciate it Thanks _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor