Using one app function attribute into another app function : <p>I need help</p>

<p>For example , i have two app in my project ,Blog and Post . </p>

<p>In Blog app i have a function with name Promo as </p>

<pre><code>def Promo():
    global x
    x= 10
    y= 20
    c= x + y
return c
</code></pre>

<p>In second app Post , i have Code function and i want use <strong>x</strong> in this function</p>

<pre><code>def Code():
    d = x + 10
return d
</code></pre>

<p>But error occurred something like that : <strong>global name 'x' is not defined</strong></p>

<p>How can i use x value into Code function that located in Post app in same project ? </p>
