Python Serial  Logger