As I am new to python as I am trying to split the text data and convert into as excel columns and row records. suppose I have 100 records as I need to split into as 1-7 is one column,8-8 is second column,9-10 is third column and 11-18 is fourth column, 5th column is 19-24,6th column is 25-124,7th column is 125-1000. The below example records are in text.txt. I want to convert into excel file based on the above mentioned characters. can anyone help me would be appreciated.
example text format :
animals210 redwingsclearmist
animals220 redwingsclearmist
animals230 redwingsclearmist
animals240 redwingsclearmist
Output Format example :
0 1 2 3 4
0 animals 210 red wings clearmist
1 animals 210 red wings clearmist
2 animals 210 red wings clearmist
3 animals 210 red wings clearmist