title: How can I convert pygame to exe?
body: <p>Recently, I made a pygame game. I want to show it to my friends. But unfortunately, I cant make an executable file, only a <code>.py</code> file. I have tried to use tools such as <code>py2exe</code> which might not support Python 3.6 and <code>pyinstaller</code>. I think <code>pyinstaller</code> may be useful, and I can also make an exe successfully but it didn't work at all. It just showed it couldn't open the sound file which is already in the same file.  </p>
  
  <p>I have tried two ways to load files firstly, just load the path then the exe converted shows it can't open the file which is already in the same path with the exe.</p>
  
  <p>Secondly, I use the <code>os.path</code> which the exe showed it cant open <code>...../temp/...</code> which is a long path but my computer doesn't have this folder at all.  </p>
  
  <p>I am a new guy to learn python. I have searched for a day and can't make it work. Can you help me?</p>