title: How to handle the File hand-off from windows in a python program
body: <p>I want to set up my python program to process all pdfs that are opened on my system, and then hand the processed pdf off to a standard reader. </p>
  
  <p>So I register my program with windows as the default handler for .pdf files and windows presumably will run my program on the pdf file. </p>
  
  <p>How within the script do I access this file. Is the file name one the <code>sys.argvs</code>? </p>
  
  <p>I didn't get google to work for me here. </p>