# Context variables in Python3 function node?

**URL:** <https://discourse.nodered.org/t/context-variables-in-python3-function-node/10994>\
**Category:** General\
**Created:** [10 May 2019 11:22 UTC](https://discourse.nodered.org/t/context-variables-in-python3-function-node/10994 "2019-05-10T11:22:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [10 May 2019 11:27 UTC](https://discourse.nodered.org/t/context-variables-in-python3-function-node/10994/2 "2019-05-10T11:27:07Z")

</div>

if you search this forum for “python context” you will find this thread where the question was asked previously

> [@Flow variables "set" and "get" in python3 node](https://discourse.nodered.org/t/flow-variables-set-and-get-in-python3-node/4082):
>
> Hi guys, I am trying to use the "context.get()" and "context.set()" in python3 function node and I am getting below error. global name 'context' is not defined. your kind help is much appreciated. Thanks.

---

_[View the full topic](https://discourse.nodered.org/t/context-variables-in-python3-function-node/10994)._
