How to Use Tkinter Entry like raw_input
<p>I'm trying to create a GUI for a TCP socket, the main function asks for the server address and wait an answer to proceed. This is the code</p>

<pre><code>print("Welcome to TCP Socket")
address = raw_input("Insert server address: ")
print("Connectiong to " + address)
...
</code></pre>

<p>Now I have a entry from Tkinter called iTxt to get user input and I use the method get() to get the input but the result isn't the same as a <code>raw_input()</code> and I can't figure how to emulate <code>raw_input</code>. Can someone help me?<br>
Thanks</p>