In article <[EMAIL PROTECTED]>, Anand S Bisen <[EMAIL PROTECTED]> wrote: >Hi > >Is there a simple way to extract words speerated by a space in python >the way i do it in awk '{print $4 $5}' . I am sure there should be some >but i dont know it.
Something along the lines of: words = input.split() print words[4], words[5] -- http://mail.python.org/mailman/listinfo/python-list