title: Recieve output from a second Python script that I have called from my first Python script
body: <p>I tried to look for an answer to this before I posted it, but I'm having trouble wording it. So, if theres a duplicate question on the site, I apologise. </p>
  
  <p>I have a Commend Line python script (in this example we'll call it Script 1) which calls a function from another script (which we'll call Script 2). I do this by:</p>
  
  <pre><code>import Script2
  Script2.Some_Function()
  </code></pre>
  
  <p>Some_Function does various things, such as connecting to servers on the internet and performing file look ups. Ordinarily, if one of these tasks failed, it would print an error stating this to the screen:</p>
  
  <pre><code>def Some_Function():
     def error(err):
       print "Error: " + err
  </code></pre>
  
  <p>However, when I know an error should be being printed, I'm not seeing anything being printed to the screen. I suspect this is because I'm calling it from Script 1.
  Is there anything I can do? I really need the output from Script 2 to be printed.</p>