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


Groups > comp.lang.python > #97763 > unrolled thread

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

Started byeryksun <eryksun@gmail.com>
First post2015-10-16 18:02 -0500
Last post2015-10-16 18:02 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

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

Fromeryksun <eryksun@gmail.com>
Date2015-10-16 18:02 -0500
SubjectRe: help(string) commands not working on pyton 3.5
Message-ID<mailman.63.1445036546.4562.python-list@python.org>
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'])

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web