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
As you can see, it runs without error on the new version of PowerShell. Below is a comparison between the two versions:
The darker window makes it easier to identify things compared to the lighter window but each has there own preference.
Hope it helps.