Because it is an interpreted, interactive, object-oriented programming language that is relatively easy to learn. Learn OOP without the details With Python, you can learn object-oriented programming without the need to understand many of the complex details. This makes it possible for you to concentrate on the big picture of what your program is intended to accomplish without getting bogged down in detail. Sneaking up on OOP With Python, you can sneak up on object-oriented programming concepts. You don't have to deal with the object-oriented nature of the language on the first day, or for a long time, for that matter.
Interactive mode is a very friendly environment for persons in the learning stages of a language.
Once you know that something works properly, it is very easy to put it in a can so to speak, and then execute it as a script. This lets you execute it without retyping it every time. This combination gives you the ability to use previously written script files while working in the interactive mode. Using this approach, you are able to minimize your interactive typing effort while still writing and testing large Python programs in interactive mode. Small core, large library Like Java, Python has a small compact core and a large, extensible library .