I need a python code that receives this string and store it in a text file as such.The arduino is transmitting this string continuously but i need it only once in the text file. The serially transmitted data is "10.028371,76.328873". I have written the below code but am getting only unexpected values in the text file