G
G
git-MUSE2021-02-01 18:09:38
Python
git-MUSE, 2021-02-01 18:09:38

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')


a novice coder, wrote a program for a friend that creates a playlist in the folder it is in from the music that is there and launches it using windows media player, using py-exe converted it into an executable file, and everything works for me with a bang , but his antivirus swears and does not even allow you to put the file in a folder, can this be fixed?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2021-02-01
@git-MUSE

How to make the antivirus not react to my program as a virus?

V
Vasily Bannikov, 2021-02-01
@vabka

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 question

Ask a Question

731 491 924 answers to any question