User:Darkicebot/eon

Hello, you have come here looking for the meaning of the word User:Darkicebot/eon. In DICTIOUS you will not only get to know all the dictionary meanings for the word User:Darkicebot/eon, but we will also tell you about its etymology, its characteristics and you will know how to say User:Darkicebot/eon in singular and plural. Everything you need to know about the word User:Darkicebot/eon you have here. The definition of the word User:Darkicebot/eon will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofUser:Darkicebot/eon, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
# -*- coding: utf-8 -*-
# Script to make eo-forms

import os
import codecs
import sys

template = u"""
{{-start-}}
<<<{STEM}oj>>>
{{subst:new eo form|{STEM}|oj}}
{{-stop-}}
{{-start-}}
<<<{STEM}on>>>
{{subst:new eo form|{STEM}|on}}
{{-stop-}}
{{-start-}}
<<<{STEM}ojn>>>
{{subst:new eo form|{STEM}|ojn}}
{{-stop-}}
"""

def main():
    global template
    if len(sys.argv) != 2:
        print "Usage: %s STEM" % sys.argv
        return

    sys.argv = sys.argv.replace("{c}", u"ĉ").replace("{g}", u"ĝ").replace("{h}", u"ĥ").replace("{j}", u"ĵ").replace("{s}", u"ŝ").replace("{u}", u"ŭ")
    f = codecs.open("eo.txt", "a", "utf-8")
    f.write(template.replace(u"{STEM}", sys.argv))
    f.close()
    print "Done ]! now `python eo.py`" % sys.argv.encode('utf-8')

if __name__ == "__main__":
    main()