login

Introduction to Python

Python is a general-purpose, high-level and dynamic computer programming language. Python’s idea is emphasized the code readability. Python combines remarkable power with very clear syntax. Python supports various programming paradigms such as object oriented, functional programming to imperative. Python supports fully dynamic type and automatic garbage collector for memory management.

Python Advantages

  • Python is readable. Unlike other popular programming languages, Python uses indentationfor block delimiters to improve its readability. The readability reduce the maintain costs and increase programmer’s productivity.
  • Python is powerful. When you install Python, you have everything in place. The large reusable standard library which covers everything in various application domains such as file management to database connection. In addition, Python is very stable, reliable and well-supported products by active community. There are big companies using python as key applications such as: Google, Yahoo, Industrial Light & Magic and many more. You can find all of them in organization using python section http://wiki.python.org/moin/OrganizationsUsingPython)
  • Python is cross platform. Python is a remarkable cross-platform language. Python can run on different platforms: Windows, Linux, Unix, Mac and so on. Because Python is interpreted therefore the Python code can run in any platform which has Python interpreter without modification.
  • Python is free. Python was developed under the open source model so it is freely available. You can use Python to develop commercial application for free. The Python license is administered by the Python Software Foundation.

Python Disadvantages

  • Python is not as fast as C/C++. Python is not fully compiled language. It uses an interpreter to interpret the code to executable code. You will see that application are developed in Python will run slower than applications written in C/C++.
  • Python does not check variable type at compile time. Python uses dynamic type so flexible that interpreter cannot check the type mismatch at compile time.
  • Python library does not have almost everything. Even though the Python’s library support is excellent, Python library does not have almost everything like C/C++, C#, Java and Perl.