using ide PyCharm, you can do this like this:

1) go to terminal inside your project "myFirstUI" as example
2) pip install pyinstaller
3) pyinstaller.exe main.py --onefile
4) in your projectfolder there will now be a folder "dist", with a file main.exe >> this is your executable file that you can copy to another pc


see also
- https://www.youtube.com/watch?v=bqNvkAfTvIc

computer2know :: thank you for your visit :: have a nice day :: © 2024