title: Get command line arguments as string
body: <p>I want to print all command line arguments as a single string. Example of how I call my script and what I expect to be printed:</p>
  
  <pre><code>./RunT.py mytst.tst -c qwerty.c
  
  mytst.tst -c qwerty.c
  </code></pre>
  
  <p>The code that does that:</p>
  
  <pre><code>args = str(sys.argv[1:])
  args = args.replace("[","")
  args = args.replace("]","")
  args = args.replace(",","")
  args = args.replace("'","")
  print args
  </code></pre>
  
  <p>I did all replaces because sys.argv[1:] returns this:</p>
  
  <pre><code>['mytst.tst', '-c', 'qwerty.c']
  </code></pre>
  
  <p>Is there a better way to get same result? I don't like those multiple replace calls</p>