4 Respuestas
+ 6
easy to write
easy to read
easy to learn
good performance
great comunity
expresive sintax
very good documentation
the logo are snakes that it's cool :v
>>> import this
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!
>>>
+ 11
# MrZard: great piece of Zen 😸
+ 4
I find python very handy for fast implementations of a particular program. It also has a vast number of readily available libraries to draw upon, which further enhances the speed of development.
That said, I still prefer something like Java/C++ for larger projects. The very flexibility of python can open you up to issues, and in some cases you can't or don't want to rely upon someone else's implementation of a critical algorithm.
Notice, however, that what I've talked about are simply situational cautions, not hard and fast rules. As someone who has used everything from Fortran, through Java & Python, including glish (you probably haven't heard of it, and be glad of that fact), I can say that languages are tools, choose the ones that fit the problem you're solving. You'll find that the more you program in any given language, the more you get from it that can be applied to any other language.
+ 1
The advantages of python are -
Readability
Simplicity
Interpreter based
large numbers of modules
That makes it very powerful. The main advantage of python is that it don't need to be compiled. If you want portability in your program you should go for python as it is interpreter based which reduces time in compilation.