exe

How do I convert a python code importing c to an exe file?

How do I convert a python code importing c to an exe file? Question: I am currently trying to get my project to work as an executable so I can share it more easily, but the code involved imports some c code to improve speed using the ctypes library. I am using pyinstaller to produce …

Total answers: 1

Make a exe for both windows 7 and windows 10(python script)

Make a exe for both windows 7 and windows 10(python script) Question: I have a python project and i converted it to a exe on my desktop(Windows 10) but when i send .exe file to my friend(My friend use Windows 7), IT IS NOT WORKING! So how can I convert a exe file for Both …

Total answers: 1

Where does a file gets stored that came with a .exe file on Windows 10/11?

Where does a file gets stored that came with a .exe file on Windows 10/11? Question: So I have made this python file which I want to compile (it’s called ElPatron) to a .exe file with Nuitka. I did it correctly and this is the dist folder that came with that (using the –standalone argument …

Total answers: 2

How to solve the unexpected pyinstaller exception "pyqt5_plugins distribution was not found"?

How to solve the unexpected pyinstaller exception "pyqt5_plugins distribution was not found"? Question: I wrote a window application using the PyQt5 library. After compiling by "pyinstaller" when trying to run the exe file, the following error occurs: I tried to reinstall pyqt5_plugins library, compile the program without the "–windowed" option, or remove errors from the …

Total answers: 2

How to delete an .exe file written in Python from within the .exe file?

How to delete an .exe file written in Python from within the .exe file? Question: I am trying to create a script which clones a github repository into the current directory and then deletes the script which called it. The script is written in Python 3.7.4 and is compiled into an .exe. I’ve tried using …

Total answers: 1

Is there a way to check if an exe is dot NET with python pefile?

Is there a way to check if an exe is dot NET with python pefile? Question: I am trying to write a simple python script; preferably with pefile that can tell me if an exe or dll file is compiled .NET. I know that I can look for the string ‘BSJB’ to see if the …

Total answers: 3

Hide the console of an .exe file created with PyInstaller

Hide the console of an .exe file created with PyInstaller Question: I want to make my program executable. I used TkInter to write the GUI, and I read somewhere that you have to save your file as .pyw to hide the console when the program is executed. The problem is that after making it an …

Total answers: 5