I wrote a Python game in for a group project using Pygame. Now we wanted to package it into an executable but I can't seem to do it. When I was working with C# through Microsoft Visual Studio it had a really simple publish feature. Is there an editor that can do that for Python with external libraries?
Both of these tools have options to bundle all of the python libraries into the executable if you want, making it easy to distribute. Either of these might have issues with whatever libraries you might be using, so it might be easiest to check the forum of the libraries you're using to see if they have a recommendation.
Well, I'm really new in Python's World. But maybe py2exe can help you.
The technical part of publishing is described correctly in Luiz's answer, but publishing also involves licensing your game, usually. For that, I suggest you use the Mit license, if you plan to make it unprofitable and aopen-source.