Python is widely used for artificial intelligence, with packages for several applications including general AI, machine learning, natural language processing, and artificial neural networks. The application of AI to develop programs that do human-like jobs and portray human skills is machine learning.