Adding Python to PATH on Windows November 29, 2022 by Tarik Hold Win and press Pause. Click Advanced System Settings. Click Environment Variables. Append ;C:\python27 to the Path variable. Restart Command Prompt.