title: pyinstaller packing more then 1 files
body: <p>I have just learnt how to use relative path to pack an image via pyinstaller, but I don't know how to pack more than one file.</p>
  
  <p>What I have as below, Script.py:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>import sys
  import os
  from PIL import Image
  
  def resource_path(relative_path):
      if hasattr(sys, '_MEIPASS'):
          return os.path.join(sys._MEIPASS, relative_path)
      return os.path.join(os.path.abspath("."), relative_path)
  
  image = Image.open(resource_path('First.png'))
  image.show()
  image2 = Image.open(resource_path('Second.png'))
  image2.show()</code></pre>
  </div>
  </div>
  </p>
  
  <p>The above Script.py works very well. And then execute cmd as below:</p>
  
  <pre><code>pyinstaller.exe -F -w --add-data "./First.png;.","./Second.png;." Script.py
  </code></pre>
  
  <p>I know the problem should be in cmd code, but I don't how to rewrite the syntax.</p>
  
  <p>Any thoughts? Thanks in advance.</p>
  
  <p>Lawrence</p>