You are on page 1of 2

From Search the web and Windows, search for PowerShell and open Windows PowerShell.

Open Notepad++ and type any sample program and save as [filename].py in any location. If the saved
location is other than the location shown in the PowerShell then type:

cd [new location]
after pressing enter PowerShell will show similar to the following image.

Now type:

python [filename].py

That’s all.

You might also like