Write csv file with data received by BLE

Hello everybody,

My MKRWIFI1010 is receiving data from a peripheral and I can see them on the serial monitor.

I would like to write it in a csv file but I am a beginner.

Is a python program compatible with this card?
If yes, do you know which library I have to use ?

Thanks for your response

Assuming you would like the file to be written on a PC connected to the board over USB, you should use your preferred dev platform (provided it can open a COM port on the machine, I assume all major ones do that), read the stream and write your file.