Python/Perl Popularity (Re: A Mountain of Perl...)

Emile van Sebille emile at fenx.com
Wed Apr 12 06:02:13 EDT 2000


Nice utility Janko.  Thank-you.

For anyone interested, here are the diffs I threw at this
for use on my Win95 system:

Compare: (<)D:\Program Files\Python\Lib\Fenx\Lib\docindex.py (12132l
bytes)
   with: (>)D:\Program Files\Python\temp.py (12063l bytes)

51c51
< pager = None # 'less'
---
> pager = 'less'
318,321c318
<    try:
<     self.docdb = os.path.join(os.environ['HOME'],'.ipphelp')
<    except:
<     self.docdb = os.path.join(os.environ['TMP'],'.ipphelp')
---
>    self.docdb = os.path.join(os.environ['HOME'],'.ipphelp')
421c418,422
<  help = docreader((r'D:\Program Files\Python\Doc_1.5.2\lib',))
---
>  help = docreader(('/home/user/Doc/html/NumPy/',
>        '/home/user/PYHTML/lib/'))
>
>  help('round')
>
423,425d424
<  help('round')
<
<


Emile van Sebille
emile at fenx.com
-------------------


----- Original Message -----
From: Janko Hauser <jhauser at ifm.uni-kiel.de>
Newsgroups: comp.lang.python
To: <python-list at python.org>
Sent: Tuesday, April 11, 2000 10:21 PM
Subject: Re: Python/Perl Popularity (Re: A Mountain of Perl...)


> Use docindex.py!
>
> This module is definetly no substitute for perldoc but a start that
> answers your question. It gets the relevant information from the html
> tree which needs to be installed on your system.
>
> A benefit over docstrings is, that one does not need to import a
> module. This is a prototype, but shows that it is possible. Not that
> this will change your mind about Python :-)
>
> HTH,
> __Janko
>







More information about the Python-list mailing list