Hello Pythonistas, First things first, I was triggered to work on this numeronyms topic by this post from Vasudev Ram's blog: http://jugad2.blogspot.in/2016/05/i18nify-any-word-with-this-python.html
>From his blog, short note on 18nify and numeronym: "i18nify" signifies making a numeronym of the given word, in the same manner that "i18n" is a numeronym for "internationalization" - because there are 18 letters between the starting "i" and the ending "n". Another example is "l10n" for "localization". I took the Five Laws of Library Science (these are sentences / phrases) to create numeronyms and the code is here on github: https://github.com/mramanathan/pydiary_notes/blob/master/howto_numeronyms_five_laws_of_library_science.ipynb a. This is not identical copy of 'jugad2' code but have used yield keyword. b. Using yield, makes the i18nify function a generator ; there are special methods to handle output from generator. Side Note: Dr.S.R.Ranganathan is considered as the Father of Library Science, he straddled both the worlds of mathematics and Libary Science. Quick intro on him is available at 1 & 2, Google will return more results. 1. http://librarysciencedegree.usc.edu/resources/infographics/dr-s-r-ranganathans-five-laws-of-library-science/ 2. https://en.wikipedia.org/wiki/S._R._Ranganathan -- regards Ramanathan.M _______________________________________________ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers