PowerShell V7: Run Python scripts
In my previous blog post on running Python scripts from PowerShell (Article Here), I was keen to test out the same thing but using PowerShell V7 instead of PowerShell V5.1 that comes with Windows 10.
I used the same script as I did previously in PowerShell V7 and here is the output:
python PowerShell.py
https://everything-powershell.com/wp-content/uploads/2020/12/image-25.png
As you can see, it runs without error on the new version of PowerShell. Below is a comparison between the two versions:
https://everything-powershell.com/wp-content/uploads/2020/12/image-26.png
The darker window makes it easier to identify things compared to the lighter window but each has there own preference.