How to Open a Terminal in Python
Python is a scripting language that you can use to perform nearly any task on a computer. The advantage of scripting out the tasks is that you can refine the process to exactly what you need it to be with a minimum of extraneous steps. Typically you'll create a Python script, then run it, but if you want to execute specific Python commands one at a time, you can do that from a terminal, also called a command prompt.
Instructions
-
-
1
Click "Start," then type "Python.EXE" and press "Enter." This will launch the Python terminal, known as the Python Interpreter. Note, that if you did not install the Python Interpreter when you installed the Python package, this will not be available.
-
2
Click "Start," then "Computer." Double-click the icon for your computer's hard drive. Find the Python directory, typically "C:\Python," and double-click it. Locate "Python.EXE" and double-click it to launch the Python terminal.
-
-
3
Press the Windows-key and "R" on your keyboard, then type "CMD" and press "Enter." This launches the Windows command prompt. Type "CD C:\Python" and press "Enter." Type "Python.EXE" and press "Enter" to launch the Python terminal.
-
1
Tips & Warnings
Right-click the "Python.EXE" file in the Python directory and point to "Send To." Select "Desktop" to create a shortcut for the program on your computer's desktop, then you can double-click the shortcut to launch the terminal.