# Node-red Python exec

**URL:** <https://discourse.nodered.org/t/node-red-python-exec/39596>\
**Category:** Industrial\
**Created:** [23 January 2021 07:26 UTC](https://discourse.nodered.org/t/node-red-python-exec/39596 "2021-01-23T07:26:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [23 January 2021 09:51 UTC](https://discourse.nodered.org/t/node-red-python-exec/39596/2 "2021-01-23T09:51:25Z")

</div>

Hi, in order to make code more readable and importable it is important to surround your code with three backticks  
`````  
`like this`  
`````

You can edit and correct your post by clicking the pencil icon.

See this post for more details - [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506)

Also add debug nodes to all outputs of the exec node, set them to show Complete Message and give them names so you can identify them in the debug pane. Probably there will be a useful error message in one of those.

---

_[View the full topic](https://discourse.nodered.org/t/node-red-python-exec/39596)._
