or can I directly use svg in syntax?
pyinstaller --onefile 'my_python_file.py'
or can I directly use svg in syntax?
pyinstaller --onefile 'my_python_file.py'
No python exe does not support SVG icons, you should export your SVG file to .ico from Inkspace or Adobe Illustrator.
Inkspace is free and open source Download Link
Fun Fact: Inkspace is also written in Python (extensions) and C++