title: "zsh: unknown file attribute: 0" passing a Python tuple on the command line
body: <p>I am calling a Python (3.8) script from Terminal on Mac using zsh (5.8) leading to the error message in the title. I found a workaround for this problem (albeit not elegant), but I would like to <em>understand</em> what is going wrong.</p>
  <p>My Python file <code>test.py</code>:</p>
  <pre class="lang-py prettyprint-override"><code>import argparse
  from ast import literal_eval
  
  parser = argparse.ArgumentParser(description=&quot;test&quot;)
  parser.add_argument(&quot;--test&quot;, default=&quot;&quot;, type=str, help=&quot;test&quot;)
  
  args = parser.parse_args()
  
  print(literal_eval(args.test))
  </code></pre>
  <p>Calling this script from command line using <code>python test.py --test (0.4,0.3)</code> results in this error message <code>zsh: unknown file attribute: 0</code></p>
  <p><strong>What does that mean?</strong></p>
  <hr />
  <p>Explanation about <code>literal_eval</code>:</p>
  <p><code>literal_eval</code> takes a string like <code>&quot;(0.3,0.4)&quot;</code> and evaluates it as tuple s.t.</p>
  <pre class="lang-py prettyprint-override"><code>a = literal_eval(&quot;(0.3,0.4)&quot;)
  type(a)
  &lt;class 'tuple'&gt;
  </code></pre>