Just like most of the thirsty developers! I want to have some experience coding on different programming languages. I've decided to get start learning python. At the moment I don't know anything about the syntax and even usages of it. You can read the result of my R&D in the rest of this blog post.
Python is a remarkably powerful dynamic programming language and free to use, even for commercial products and runs on Windows, Linux/Unix and Mac OS. Python has some interesting feature listed in its official web site:
- very clear, readable syntax
- strong introspection capabilities
- intuitive object orientation
- natural expression of procedural code
- full modularity, supporting hierarchical packages
- exception-based error handling
- very high level dynamic data types
- extensive standard libraries and third party modules for virtually every task
- extensions and modules easily written in C, C++ (or Java for Jython, or .NET languages for IronPython)
- embeddable within applications as a scripting interface
Based on these feature, it seems to be a powerful language. it also supports for meta-classes and duck typing(I'm not familiar with duck typing!). The most interesting feature of python is it's compatibility with .Net and COM objects and supporting for multiple programming paradigms, including object-oriented, imperative and functional programming, procedural styles and Internet Communications Engine (ICE). At the time of writhing the blog post, the last release of python is python 3.3.3 and available at this address. based on this website's quote, python is the most popular programming language in the world(I didn't think so!).
"Hello world" program via python!
Python has such a cool syntax, it allows programmers to express concepts in fewer lines of code. There is a function in python 3 or later named print, you can write your first python hello world program (I don't want to write anything rather than hello world!)
- print("Hello, World!")
About the IDE of python I personally prefer to use pycharm as I like jetbrains products, but you can use visual studio 2013 and it's tools for python. I will practice and write more about python ;)