every time you run code from fileyou'll see something like the following output in the interactive window==================restart ==================idle restarts the python interpreterwhich is the computer program that actually executes your codeevery time you run file this makes sure that programs are executed the same way each time opening python files in the editor window to open an existing file in idleselect file open from the menuthen select the file you want to open idle opens every file in new editor windowso you can have several files open at the same time you can also open file from file managersuch as windows explorer or macos finder right-click the file icon and select edit with idle to open the file in idle' editor window double-clicking on py file from file manager executes the program howeverthis usually runs the file with the system pythonand the program window disappears immediately after the program terminates--often before you can even see any output for nowthe best way to run your python programs is to open them in idle' editor window and run them from there mess things up everybody makes mistakes--especially while programmingin case you haven' made any mistakes yetlet' get head start and mess something up on purpose to see what happens mistakes in programs are called errors you'll experience two main types of errorssyntax errors and runtime errors