run python script powershell

C++
First confirm that you have a file that has some python code in it.
I will assume that the file name is called file.py (for simplicity) 
Oh yeah, and this might not work if you have not added python to PATH when you first downloaded it.

Run the script like this:
python file.py
Source

Also in C++: