title: Passing an array into python argument from bash
body: <p>I have some python script <code>foo.py</code> with many arguments. Inside that script I am using <code>argparse import ArgumentParser</code> to parse them.</p>
  <p>I want to pass an array as the value of one of them from bash. I have tried:</p>
  <pre><code>python foo.py --arg1=1 --arrArg=[1,2] --arg3=x
  </code></pre>
  <p>when I print them inside the script I get:</p>
  <blockquote>
  <p>arg1=1</p>
  <p>arrArg=['1',',','2']</p>
  <p>arg3=x</p>
  </blockquote>
  <p>How do I pass the arry as numbers from bash?</p>