Unable to run .sh and .ps1 file with python “QUESTION IS NOT DUPLICATE” [duplicate]
This question already has answers here: python3 –version shows “NameError: name ‘python3’ is not defined” [duplicate] (2 answers) Python was not found but can be installed from the Microsoft store (March, 2020) (10 answers) Closed 19 mins ago. This post was edited and submitted for review 7 mins ago. I learned that you can write […]
Unable to run .sh and .ps1 file with python
I learned that you can write scripts and run multiple commands by executing a .sh or .ps1 file in Bash and PowerShell respectively. However, when I run my files I get the same error (both in Bash and PowerShell) and I am unable to understand why.