Why am i getting 'python is not recognized' after installation?

After installing Python on some systems, the PATH might not be set correctly, causing command prompt or terminal to not recognize the `python` command.


'python' is not recognized as an internal or external command, operable program or batch file.


1. Ensure Python's installation directory is added to the system's PATH.
2. On Windows, during installation, check the 'Add Python to PATH' option.
3. On Linux/Mac, modify the ~/.bashrc or ~/.bash_profile file.

Beginner's Guide to Python