Reading line in py serial without \n and \r

The answer is the same as the one I gave you here: