I am making a .Sh File which will in turn run a Python file cause I want that .Sh file to run in the background.
So here is the name of my Python File - canlp.py
. And the .sh file code to run this Python file is as follows.
#!/bin/sh
CWD="$(pwd)"
python canlp.py
Although when I run this code it gives me this error in CMD - canlp.sh: line 3: python: command not found
When I run it using bash canlp.sh
And I am able to run it from Standalone Terminal without using .Sh . I am using the latest version of Python and have Windows 10 as a Operating System