I'm trying to do a doctest, I used the cd command in cygwin to navigate to where my .py file is located and then entered this command:
python3 -m doctest file.py
and I get this error in return:
-bash: python3: command not found'.
I'm on Windows 7. I've tried doing the doctest with the file in my Python 3.4 installation directory with no luck, either. I've also tried using the windows command prompt to the same effect. I feel like I'm missing something obvious but I'm not sure what.
EDIT: For future referance, I followed https://docs.python.org/3.3/using/windows.html#finding-the-python-executable and https://docs.python.org/3.3/using/windows.html#setting-envvars to get it to work.