On 10/16/15, Prasad Joshi <[email protected]> wrote:
>
> I am using windows 10.
>
>>>> import math
>>>>
>>>>
>>>> help (math)
> 'more' is not recognized as an internal or external command,
> operable program or batch file.
What do you get for the following?
import os
windir = os.environ['SystemRoot']
more_path = os.path.join(windir, 'System32', 'more.com')
print(os.path.exists(more_path))
If more.com doesn't exist, your Windows installation needs to be
repaired. If it does exist, then probably PATHEXT is missing .COM.
Ensure it's listed in the output of the following:
import os
print(os.environ['PATHEXT'])
--
https://mail.python.org/mailman/listinfo/python-list