That error has nothing to do with Python at all. Running just...
test.py
...is going to search your system environment paths for an executable file called test.py, and I can practically guarantee your project folder isn't part of that environment path.
Thus, you need to run...
./test.py
The . means "current working directory", and then you build the relative path from there.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
That error has nothing to do with Python at all. Running just...
...is going to search your system environment paths for an executable file called
test.py
, and I can practically guarantee your project folder isn't part of that environment path.Thus, you need to run...
The
.
means "current working directory", and then you build the relative path from there.