title: Parsing Command line arguments in python which has spaces
body: <p>I am invoking the script from ant . I am getting it as a single string from the caller but python is strangely treating it as two individual strings.I have script that reads a file name with it's path in windows. The folder structure may or may not have spaces in between</p>
  
  <p>Here is an example </p>
  
  <p><code>test.py D:/test/File Name</code></p>
  
  <p>I know this can be done using optparse. Is there any way that i can read the param as single argument
  like i want to get it in sys.argv[index] (as a single string). I have tired prefixing with ' and " but with no success.</p>