# Saving Sensors Measurements

**URL:** <https://discourse.nodered.org/t/saving-sensors-measurements/53884>\
**Category:** General\
**Created:** [17 November 2021 14:01 UTC](https://discourse.nodered.org/t/saving-sensors-measurements/53884 "2021-11-17T14:01:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ghada1](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ghada1/32/51208_2.png) [@ghada1](https://discourse.nodered.org/u/ghada1)\
**Post date:** [17 November 2021 14:01 UTC](https://discourse.nodered.org/t/saving-sensors-measurements/53884/1 "2021-11-17T14:01:34Z")

</div>

Hello All,  
How can i save the data i'm receiving on Node-Red into a python file on my raspberry pi?  
i'm a newbie on this and i'm wondering how is it possible

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [17 November 2021 14:18 UTC](https://discourse.nodered.org/t/saving-sensors-measurements/53884/2 "2021-11-17T14:18:58Z")

</div>

Welcome to the forum @ghada1

What exactly do you mean by saving it into a python file? A python file is a file containing python code.

If you just want to write it to a file you can use the Write File node to do that.

What do you want to do with the data once you have saved it somewhere?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [16 January 2022 14:19 UTC](https://discourse.nodered.org/t/saving-sensors-measurements/53884/3 "2022-01-16T14:19:30Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
