Does anyone know ni?

Ian Kelly ian.g.kelly at gmail.com
Tue Feb 6 15:43:24 EST 2018


It was used for package support and is no longer needed from Python
1.5. http://legacy.python.org/doc/essays/packages.html

On Tue, Feb 6, 2018 at 1:27 PM, Roel Schroeven <roel at roelschroeven.net> wrote:
> I'm having a look at py-iso8211 from
> https://sourceforge.net/projects/py-iso8211/ to see if I can get it to work
> without too much work. It uses a module 'ni', for example in __init__.py:
>
>
> """
> ...
> """
>
> # Make the above more easily available - if you do:
> #
> # import ni
> # ni.ni()         # (currently needed (in Python 1.3) to start "ni" up)
> # import iso8211
> # print  iso8211.Intro
> #
> # then you should get the sensible result...
>
> Intro   = __doc__
>
>
> Is it something that was needed in very old Python versions to get access to
> the docstring?
>
> --
> The saddest aspect of life right now is that science gathers knowledge
> faster than society gathers wisdom.
>   -- Isaac Asimov
>
> Roel Schroeven
>
> --
> https://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list