I need to make a python script into a standalone .exe file. I have tried to use py2exe using this compile code:
from distutils.core import setup
import py2exe
setup(console=['script.py'])
But all it does is spit out a folder with the exe file, as well as a bunch of other stuff. Problem is, I cannot run the exe file without it being in the same exact folder as the other files.
Is there a way to make a standalone .exe file that does not require any other files to run?