1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Py To EXE Help Because Im Bad At Programming [closed]

Discussão em 'Python' iniciado por Stack, Setembro 14, 2024.

  1. Stack

    Stack Membro Participativo

    Ok So I have been making this batch script to make a python file an exe with pyinstaller, im ganna past my code and i would like someone to help, I honestly dont understand whats wrong.

    @echo off
    :filer
    echo Must Be In This Folder, And Dont Include .py
    echo.
    set /p FILEE= File? -
    cls

    cd C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python312\Scripts
    powershell -Command "& {pyinstaller --onefile -w '%FILEE%.py'}"
    cls
    start C:\Users\impin\AppData\Local\Programs\Python\Python312\Scripts\dist
    echo Finished, Folder Opened With File Inside.
    pause >nul

    Continue reading...

Compartilhe esta Página