Language Tutorial

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ryeke
    New Member
    • Apr 2010
    • 2

    Language Tutorial

    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
Working...