Answer the question
In order to leave comments, you need to log in
Antiviruses do not allow application written in python and converted to exe?
import os
mus= os.listdir(path='.')
with open('test.m3u', 'w') as file:
file.write(r'#EXTM3U'+'\n')
for i in mus:
if i=='test.m3u' or i=='main.py':
pass
else:
file.write(r'#EXTINF:1,'+i+'\n')
file.write(i+'\n'+'\n')
os.startfile('test.m3u')
Answer the question
In order to leave comments, you need to log in
How to make the antivirus not react to my program as a virus?
Yes. Put the executable in some 7zip and disable the antivirus.
Well, or if this is for a friend - let him install a python and run the script.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question