-3
Good evening guys. I did a little project in Python and I’m trying to generate the executable. However, I can’t find any tutorial to teach you how to do this with more than one file. In the case of my project, I have 4 files. py and I can only generate the executable of one of them (which even gives error). It is possible to merge the 4 or something of the type so that I can generate the executable without having to join them manually in a single file?
Hello, you can use pyinstaller which is a proper tool for this kind of work. Take a look at this part of the documentation: Multipackage Bundles. I advise to try the command in the terminal, in the directory of your project:
pyinstaller --onefile main.py
(Put the main file). You probably need to install pyinstaller: How to Install.– mateusnss
Take a look at this video: pyinstaller
– mateusnss
This answers your question? How to create a python " *.exe" executable?
– Guilherme Nascimento