title: Windows Defender detecting Python EXE as Trojan
body: <p>I made a Python script that mails a Windows directory as zip to me. I added a scheduler using sched module that repeats this every hour.</p>
  <p>I was attempting to make a simple sync application for personal use that starts at Windows Startup.</p>
  <p>I converted it to exe using <strong>pyinstaller --onefile</strong> argument and it worked flawlessly.
  But after a couple of days, Windows defender (Windows Security Centre of Windows 10) detected it as a Trojan.</p>
  <p>This issue is not limited to <strong>Windows Security Centre</strong>, A quick scan on <strong><a href="https://www.virustotal.com" rel="nofollow noreferrer">Virus Total</a></strong> says 4 antivirus detects it as <strong>Trojan</strong>.</p>
  <p>What brings the Antiviruses to think this? I don't think sharing the code is any use as proper details have already been given, but still, a comment would make me do it.</p>