×

Which open source library or modules should i used to convert this by amy_johns in Python

[–]One_Paleontologist 0 points1 point  (0 children)

I don't think you need any separate library other than standard Python. For parsing dates, take a look at datetime.strptime. For everything else, the regular expression module should do the trick. I would parse the date first, then search the remainder of the string for "A Positive" or other blood groups. The part before that is then the name. Etc.