title: Save Scheduled Task (PYTHON Script NOT Batch file) Console Output to a file
body: <p>I have found several solutions to save a batch file run from task scheduler to a txt file but the same technique of appending a > file.txt doesn't work for a python script which i am triggering through the task scheduler.  Also tried >> file.txt </p>
  
  <p>How to i save a python script console output to a txt file which is executed from the task scheduler?</p>
  
  <p>This is the command that i am executing from the task scheduler, which is running fine except that it doest save the console output to the txt file. </p>
  
  <p>Program Script - C:\Python27\python.exe</p>
  
  <p>C:\Dropbox\Nightly_SSIM.py > C:\LAF\6.7\Nightly_Debug.txt</p>