Reading variables from text files
<p>I have a text file, <code>xyz.txt</code> that has variables, and I want to use those variables, I know how to read them but do not know how to use it and call them when I need it. For example, If in the text file there is <code>x = 123</code> I would like to be able to call on that variable for use, so if i said <code>print x</code> it would give me <code>123</code>.</p>

<p>text file:</p>

<pre><code>x = 1.000
y = 2.343
z = 3.000
</code></pre>

<p>Later on It will have more data.</p>
