Search code examples
pythonpyinstallerexeconverters

.py to only one .exe file


I know that pyinstaller can convert .py file into .exe, but at the same time you will have some folders, so without them your .exe file will not work. Is it possible to convert .py file into only one .exe file?


Solution

  • You can use auto-py-to-exe for more advanced conversion settings:

    $ pip install auto-py-to-exe
    $ auto-py-to-exe
    

    Then a window will open and you are going to be able to convert your file.