Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove .exe file created by Pyinstaller

First time posting question here. I used Pyinstaller 3.1 to create an executable file of a .py file.

How do I remove the executable file? Do I just manually delete the build folder, dist folder and .spec file located in c:\python35\scripts?

Is there a proper way?

Thanks so much for answering!

like image 622
Carl Avatar asked Dec 17 '25 17:12

Carl


1 Answers

Yes. Just remove them manually. The "proper way" I guess could be using a terminal, which you could do by running:

rmdir /s /q build | rmdir /s /q dist | rm <file_name>.spec
like image 153
Temerold Avatar answered Dec 19 '25 07:12

Temerold



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!