Split

Alex cut_me_out at hotmail.com
Tue Apr 18 22:19:09 CEST 2000


> split = regsub.split(line,'\s+')
> 
> how can I print only the 5th for example?

print split[4] will probably do what you want.

Alex.



More information about the Python-list mailing list