hello everyone,
I am new to python and would like to get my texarea that is built with html to run python code when user types and click submit. Bellow is some of the code that I would like to be invoked into the textarea
>>> words = ['jambo', 'habari', 'analysis', 'is', 'the']
>>> tags = ['noun', 'verb', 'prep', 'det', 'noun']
>>> zip(words, tags)
[('jambo', 'noun'), ('habari', 'verb'), ('analysis', 'prep'), ('is', 'det'), ('the', 'noun')]
My swahili tutorial should tag words as they are submited.
Please help
I am new to python and would like to get my texarea that is built with html to run python code when user types and click submit. Bellow is some of the code that I would like to be invoked into the textarea
>>> words = ['jambo', 'habari', 'analysis', 'is', 'the']
>>> tags = ['noun', 'verb', 'prep', 'det', 'noun']
>>> zip(words, tags)
[('jambo', 'noun'), ('habari', 'verb'), ('analysis', 'prep'), ('is', 'det'), ('the', 'noun')]
My swahili tutorial should tag words as they are submited.
Please help