Why is Python so popular?
I mean, I will admit it's pretty intuitive, but if you take a look at the Share forum, nearly all of the Repls are written in Python! Python developers, why do you like Python so much?
i like python bc is simple. I know that most of the syntax and scopes relies on whitespace, but that makes it easier for me to read rather than a mess of curly braces and semicolons.
plus, indentation is just good practice no matter what language you are in
Python is a very popular language. It is constantly growing. It is a great server side language. It is great with dealing with big projects, such as databases, servers etc. Python overall is a easier written language than most, and can do nearly everything, if not more, than other languages can. Don't take this wrongly though, I am not saying Python is better than any language, I am saying it is very very powerful in many many fields which makes it popular.
Want a website? - Flask or Django
Want to read a website code? - requests or BeautifulSoup or Both
Write data in json format? - json module
Write into a file and save data? - with open
Want a fast and easy loading bar? - tqdm
Want to access system commands and or system info? - os module
Want to train data? - Numpy or pytorch(note: pytorch is not available on repl)
Want to do nearly anything you brain desires and have it easily done in a matter of no more than a week? - Python!
@code5 Length of the code is only one factor in determining the quality of a language, though. I mean, here's a hello world program written in Assembly:
That's long, but it runs a lot better than any language out there.
Also, your C# code can be simplified:
It's longer than Python, but at least we don't have to import a module in order to use command line args :)
I went to Python because it was the one of the best languages for me, although I could have picked Ruby or something, and also because of the sheer amount of people that use it and have modules on it.
Probably because it's easy to learn. Sad thing is that you can't really do anything useful in it compared to other languages