'tkinter import added to my python script in VS Code

I am writing a python script in VS Code and noticed the other day that "from tkinter import W" was at the top of my file above "def main()". I found it odd since I have never used tkinter so I commented out the line. Now today I see the same line added at the top of my code, below the commented out line. How is this being added to my code without my knowledge of it happening?

#from tkinter import W

from tkinter import W


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source