title: Sending arguments from Batch file to Python script
body: <p>I'm running Python 3.2 on Win XP. I run a python script thru a batch file via this:</p>
  
  <p><code>C:\Python32\python.exe test.py %1</code></p>
  
  <p><code>%1</code> is an argument that i pass to do some processing in the python script. </p>
  
  <p>I have 2 variables in the batch file that I also want to send as arguments to the python script.</p>
  
  <p><code>set $1=hey_hi_hello</code></p>
  
  <p><code>set $2=hey_hi</code></p>
  
  <p>I want to be able to do something like this if possible:</p>
  
  <p><code>C:\Python32\python.exe test.py %1 $1 $2</code></p>
  
  <p>And then retrieve these argiments in the python script via <code>sys.argv[2]</code> and <code>sys.argv[3]</code></p>
  
  <p>Would appreciate any help with this. Thank you.</p>