swapping
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Mon Aug 20 04:39:36 EDT 2007
En Sat, 18 Aug 2007 02:58:23 -0300, Beema shafreen
<beema.shafreen at gmail.com> escribi�:
> result:
> klp5 bub1
>
> apn1 apn2
>
> but i have do the same for the revere ,to check the result like this for
> eg:
> apn2 apn1
> what is the concept to do this
I don't understand exactly what you want to do.
If you want to transform "apn1 apn2" into "apn2 apn1", try this:
col1, col2 = line.split()
print col2," ",col1
--
Gabriel Genellina
More information about the Python-list
mailing list