Python file contents to be read by another python file and print the content
<p>python file contents to be read by another python file and print the content</p>

<p>taking 2 python files</p>

<p>one.py</p>

<pre><code>print (content of two.py)
</code></pre>

<p>two.py</p>

<pre><code>if any(data):
    print data
    validate()
    random()
</code></pre>

<p>result:</p>

<pre><code>if any(data):
    print data
    print data
    validate()
    random()
</code></pre>

<p>is that possible</p>
