We can employ slicing techniques:
line = 'aaa bbb ccc' col1 = line[0:3] # from ww w . j av a 2 s.c o m col3 = line[8:] print( col1 ) print( col3 )