pyinstaller onefile add-data windowed

C++
pyinstaller --onefile --windowed --add-data "<folder>;<folder>" <filename.py>
Source

Also in C++: