osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does anyone know ni?


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