Using Python in Windows
top of page

Using Python in Windows


After you have installed Python on a Windows operating system, you can start the Python interpreter by entering Windows command prompt and entering the command 'py'

In this interactive mode you will be able execute Python statements. In this example, we direct a string of text to be printed three times with a line break at the end each time, by appending the \n line break command in single parentheses added to the end with a plus sign.

In order to exit the interactive mode press CTRL + Z, and then press enter.


bottom of page