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.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.