CMD asking for input when importing the webbrowser module : I'm having a small, yet quite annoying issue with python. When I import the webbrowser module in a python program, it works perfectly fine in the idle, but when I try to run the program outside the idle, it opens, runs the code before the import (which there normally isn't since I begin the program with the imports), and then, when it is time to import the webbrowser module, the program just stops and waits for me to input something. As an example, I made the most basic of program just to show what is happening step by step. Pastebin to the program : http://pastebin.com/8GsQZ1Ti . Here is what happens when I launch the program : http://imgur.com/a/lXtwV  and finally, here is a screenshot of the program after I enter some text and press enter : * third link will be in a comment to this post since I need 10 rep to post more than 2 links in a single post * . Why is it that it stops when importing the webbrowser module? I only want the program to import the module and to continue normally.