title: argument of type 'int' is not iterable in my function
body: <p>Im trying to resolve an issue with my code, where I am executing my function <code>play()</code> , but the argument i pass in of <code>--b</code> is an <code>int</code>, what am I doing wrong?</p>
  
  <pre><code>import argparse
  from num2words import num2words
  import subprocess
  
  def play():
      parser = argparse.ArgumentParser()
  parser.add_argument("--b", default='99',type=str,help="B?")
      args = parser.parse_args() 
      for iteration in reversed(range(args.b)):
          print('Wee!')
  
  play()
  
  if __name__ == '__main__':
      subprocess.call(['./file.py', '10'], shell=True)
  </code></pre>
  
  <p>I am executing this via:</p>
  
  <pre><code>&gt;&gt;&gt; import sys; import subprocess;
  &gt;&gt;&gt; subprocess.call([sys.executable, 'file.py', '--b', 10])
  Traceback (most recent call last):
    File "&lt;string&gt;", line 1, in &lt;module&gt;
    File ".\subprocess.py", line 480, in call
    File ".\subprocess.py", line 633, in __init__
    File ".\subprocess.py", line 801, in _execute_child
    File ".\subprocess.py", line 541, in list2cmdline
  TypeError: argument of type 'int' is not iterable
  </code></pre>