title: How to return multiple variables from python to bash
body: <p>I have a bash script that calls a python script. At first I was just returning one variable and that is fine, but now I was told to return two variables and I was wondering if there is a clean and simple way to return more than one variable.</p>
  
  <pre><code>archiveID=$(python glacier_upload.py $archive_file_name $CURRENTVAULT)
  </code></pre>
  
  <p>Is the call I make from bash</p>
  
  <pre><code>print archive_id['ArchiveId']
  archive_id['ArchiveId']
  </code></pre>
  
  <p>This returns the archive id to the bash script</p>
  
  <p>Normally I know you can use a return statement in python to return multiple variables, but with it just being a script that is the way I found to return a variable. I could make it a function that gets called but even then, how would I receive the multiple variables that I would be passing back?</p>