[Expand for the snippet/command for compiling below + like and subscribe pls]
This example uses a calculator example with a theme available here: https://github.com/rdbende/Sun-Valley... + https://github.com/rdbende/Sun-Valley...
Join our community here: https://noirth.com
Src - you can easily change --onefile to --standalone:
python3 -m nuitka --follow-imports wow.py --lto=no --onefile --include-data-file=/home/parallels/Desktop/Nuit/another/themed/Sun-Valley-ttk-theme-master/sun-valley.tcl=sun-valley.tcl --enable-plugin=tk-inter --include-data-dir=/home/parallels/Desktop/Nuit/another/themed/Sun-Valley-ttk-theme-master/theme=theme
Honestly, I've not achieved different results between onefile and standalone, other than onefile tries to deliver a .bin, although this is not working as I would expect. This could be easily worked around using a packager, that automatically extracts/installs the theme tcl file, and theme folder to deliver the UI to end-users. Keep in mind there is much more that can be done with this GUI, for example drawing a list of connected users and display their talking status in the case of a VoIP app
On this page of the site you can watch the video online Compiling Tkinter using Nuitka for portable Python GUI apps with a duration of hours minute second in good quality, which was uploaded by the user Noirth Security 19 December 2021, share the link with friends and acquaintances, this video has already been watched 1,769 times on youtube and it was liked by 6 viewers. Enjoy your viewing!