Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #97763

Re: help(string) commands not working on pyton 3.5

References <CY1PR03MB1502995E56EDE62AFC2405B3D53E0@CY1PR03MB1502.namprd03.prod.outlook.com> <CACL+1atN0yNMFPBAHWXH_3=yLhYqt6-+AJbUy8xaFyB3gXEODQ@mail.gmail.com> <CY1PR03MB150271C7A8F54CAB8140B480D53D0@CY1PR03MB1502.namprd03.prod.outlook.com>
Date 2015-10-16 18:02 -0500
Subject Re: help(string) commands not working on pyton 3.5
From eryksun <eryksun@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.63.1445036546.4562.python-list@python.org> (permalink)

Show all headers | View raw


On 10/16/15, Prasad Joshi <prajoshi@microsoft.com> 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'])

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: help(string) commands not working on pyton 3.5 eryksun <eryksun@gmail.com> - 2015-10-16 18:02 -0500

csiph-web