where python If you see the version number or path, Python is successfully added to PATH.
setx PATH "%PATH%;C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python312\;C:\Users\%USERNAME%\AppData\Local\Programs\Python\Python312\Scripts\" /M (Adjust version number as needed) Open a new Command Prompt or PowerShell and run: add python to path windows 11
python --version or