Piping data from a python script into a .csv or .txt file
问题 I want to monitor air quality inside my flat (downstairs neighbor is an avid smoker). For so doing, I have a Raspberry Pie 3 Model B+ connected with an Enviro+. While in the terminal I can run the script that measures small particles. python particulates.py cf. https://github.com/pimoroni/enviroplus-python/blob/master/examples/particulates.py It then runs and display the data in the terminal, like in the picture below: (yes, I am better at lego-ing, than coding). I am interested in keeping a