# How does Node-Red interact with Python?

**URL:** <https://discourse.nodered.org/t/how-does-node-red-interact-with-python/30854>\
**Category:** General\
**Created:** [29 July 2020 06:21 UTC](https://discourse.nodered.org/t/how-does-node-red-interact-with-python/30854 "2020-07-29T06:21:25Z")\
**Posts on this page:** 1\
**Showing post:** 22

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [29 July 2020 10:51 UTC](https://discourse.nodered.org/t/how-does-node-red-interact-with-python/30854/22 "2020-07-29T10:51:33Z")

</div>

No problems, actually I think I have already shared a python script talking to the pifacecad using mqtt somewhere here on the forum. Search is your friend

> [@PiFace CAD - a different request](https://discourse.nodered.org/t/piface-cad-a-different-request/20295/13):
>
> @Trying_to_learn Dear Andrew, no problems at all, sorry and sad for those wild fires, worst ever I think? Terrible, really. I took some time to write a small python script that you can test when time and if you like. It is rather straight forward, it connects to a mqtt broker (I assumed in the same Pi, otherwise you have to edit the ip). It loads the pifacecad python library, writes a welcome message to the lcd. When you press a button you should see it's number on the lcd and receive a mqtt m…

---

_[View the full topic](https://discourse.nodered.org/t/how-does-node-red-interact-with-python/30854)._
