What makes Python a good scripting language?

If you need to choose a scripting language, why did you choose Python?

+3
source share
8 answers

Since it has clean and flexible syntax, it is fast, well-documented, well-connected with C, has many libraries, it is intuitive and not perl.

+19
source

, " ". , , , Bash zsh; , 2000 , 2 3 , , , Lua ( Lua , 2-3 "" , "", Lua - ).

Python, Perl Ruby, "" ( "", , , ;-) - ", " , Bash zsh, lua tcl " ". , ( ) , , " "... "scripting", !). , Python, Ruby Perl - ( , - , rexx, , Smalltalk , , ! -.)

, " " , , .

+11

, . ( ) . , , ​​ (, Lua Tcl). - , Perl .

Python - , ( ), , .

+2

"" ( ), (), .

, , : Runtime ( ), ( ), , ( X Y, X Z Z?), : :)

" " - SH MIRC "script". " " .

0

python, , .

0

, , script . EXE Windows, APP Mac - .

, , , , : . , -.

, python... -.

0

http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html

In this short article you can see many possibilities and elegance. Especially things like defaultdict make your code much shorter, more readable, and more maintainable.

0
source

Source: https://habr.com/ru/post/1721664/


All Articles