title: Stdout from python script apparently redirected in cron
body: <p>Running into an interesting issue, have a python file that I have installed using setup.py. I want to send the output(just prints to stdout) of this python script as the body of an email. When piping this script to mail on the command line, like below, all is well:</p>
  
  <p><code>my_python_script | mail -s "my subject" my_email</code></p>
  
  <p>However, when the same script is added to the crontab, it yields the expected subject, but an empty body:</p>
  
  <p><code>* * * * * my_python_script | mail -s "my subject" my_email</code></p>
  
  <p>Any idea as to why this is?</p>