Split

Alex cut_me_out at hotmail.com
Tue Apr 18 16:19:09 EDT 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