How to call function properties from other file : <p>There are 2 Files 1.Frontend 2.Backend
In Frontend There is one function pop(), which basically is b = a.get()
and what i want is whenever user type something in entry box it should be printed via backend...</p>

<h1>FRONTEND</h1>

<pre><code>from tkinter import *
import backend

win = Tk()
win.geometry("500x500")


def pop():
    b = a.get()

But = Button(text = "CLICK",command = pop)
But.pack()

a = StringVar()
e_1 = Entry(textvariable = a)
e_1.pack()
</code></pre>

<h1>BACKEND</h1>

<pre><code>from frontend import pop

print(b)
</code></pre>

<p>I was expected that whenever use type something in entry box it should be print via backend but i got an error that is "b" is not define..</p>
