2 ms·
Then just split on the first space (I do that a lot with text files that I parse, like `for line in file: date, hours_worked, comment = line.strip().split(' ',
by lucb1e 8y ago
Then just split on the first space (I do that a lot with text files that I parse, like `for line in file: date, hours_worked, comment = line.strip().split(' ', 2)`.
The real issue starts when you have spaces in your username. We should just use some non-printable, like, I don't know... tab?