run powershell script from python script code example
Example: run python script powershell
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