 Python has been used in artificial intelligence tasks . As a scripting language with module architecture , simple syntax and rich text processing tools , Python is often used for natural language processing tasks . 
