Hi I had this exact same question :
opening a new window with a button
But as I ran the code given : (EDIT : first line is indeed from tkinter import *)
<