i tried to run my code on windows 8 using ctrl+B but it gave the following error.
\'python\' is not recognized as an internal or external command,
operable p
It looks like your PATH isn't setup correctly. Sometimes this happens when you install Python in a specific folder instead of the default C:\Python folder (e.g. C:\Python27)
To setup your PATH, right click on 'My Computer' and click 'Properties', then in the 'System Properties' click on the 'Advanced' tab. In the 'System variables' section, you'll see a variable called 'Path'. Now add where you installed Python to that list (additional items are appended with a semicolon).
For example, if you installed on C:\Program Files\Python27 then you would add ";C:\Program Files\Python27" to your PATH variable.
Steps to fix it easily [For Pyhton 3.X] 1. Uninstall current version 1. Reinstall Note : Make Sure You Allow the Check box as Shown in the figure [Based on 3.7]
...