Nov-04-2020, 09:27 AM
Iterating on deanhystad solution. It's more lines of code but presumably if you return to it in couple of weeks this makes much easier to remember what it's all about.
data = "0000009887465 000002250000000000089877000000000000.0002/28/202000000000.00000000000.00" first_ID = slice(6, 13) second_ID = slice(19, 22) date = slice(53, 63) extracted = f'{data[first_ID]} {data[second_ID]} {data[date]}' print(extracted) -> 9887465 225 02/28/2020
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.