I'm using VS code and having the same issue. Someone had said that it is because VS code is linked to an online server and that makes things cloudy. I followed the advice on this No Window Displayed by Tkinter in VSCode
but I just found myself on a new tab that couldn't do anything for me. I still that what is posted in think this link is onto somthing.