I have a file containing lines like
12 45 some text
56 78 #another type of text
22 34 after column 2 are other data
I need to split each line storing the two first elements in two variables and the text after the second column in one variable. In C, using sscanf() this can be accomplished as
sscanf(line,"%d %d %s",&a,&b,textArray);
I know about scanf python module but apparently it is not standard and it is not included in Debian.
How can you do this using the standard Python tools?