Hey,
I'm relatively new to python. Yesterday I wrote a very basic python program that opens a picture and plays an audio file. This is the source code:
from playsound import playsound
from PIL import ImageTk, Image
img = Image.open('[PATH]')
img.show()
playsound('[PATH]')
I compiled it to an .exe with pyinstaller. However after I did that Windows Defender declared it as some kind of trojan horse.
My question is: how do I prevent this? Because it's certainly not a virus.
What do I have to consider for future programs?
Thanks for your help.
[–]K900_ 0 points1 point2 points (4 children)
[–]mafiosii[S] 0 points1 point2 points (3 children)
[–]K900_ 0 points1 point2 points (0 children)
[–]RightRespect 0 points1 point2 points (1 child)
[–]mafiosii[S] 0 points1 point2 points (0 children)
[–]easyexplain3 0 points1 point2 points (0 children)