title: How to convert a .py file with images to .exe file with pyinstaller
body: <p>I am making a python program which has a nice GUI which uses a lot of images and a icon I want to share this program with my friends by converting it to.exe but the .exe file doesnt work on their computers as they don't have the images and it usually throws an error in powershell like &quot;icon.ico&quot; not defined and stuff like that</p>
  <p>Does anybody know a method in which I can convert .py to .exe with the images in the file or just a sort of a workaround towards this issue as I just want to send this file to my friends</p>