Your python code has a comment in it that says that it reads up to the carriage return. Your Arduino code never sends one.