The Blog is about the Programming language.
Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java. The language provides constructs intended to enable clear programs on both a small and large scale. Python is designed by Guido van Rossum and first appeared in 1991 but stable release 3.5.1 / 7 December 2015 &2.7.11 / 5 December 2015.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJs_Obop-rGXM7chtOeKqyiOlXxcIcERT8d1DQ8Hq56NkCXy4XQH6tA94DEjnsPD9MUrLOvxhKLAGhRFwy3X4xZ1Cs2cB92NfzRQHG0950L84umVxtYcZywyXpyGfOKSApf7b7F6WKTOPu/s320/maxresdefault.jpg)
Python interpreters are available for installation on many operating systems, allowing Python code execution on a wide variety of systems. Python is processed at runtime by the interpreter. You do not need to compile your program before executing it. This is similar to PERL and PHP. Using third-party tools, such as Py2exe or Pyinstaller, Python code can be packaged into stand-alone executable programs for some of the most popular operating systems, allowing the distribution of Python-based software for use on those environments without requiring the installation of a Python interpreter.
Often, programmers fall in love with Python because of the increased productivity it provides. Since there is no compilation step, the edit-test-debug cycle is incredibly fast. Debugging Python programs is easy: a bug or bad input will never cause a segmentation fault. Instead, when the interpreter discovers an error, it raises an exception. When the program doesn’t catch the exception, the interpreter prints a stack trace. A source level debugger allows inspection of local and global variables, evaluation of arbitrary expressions, setting breakpoints, stepping through the code a line at a time, and so on. The debugger is written in Python itself, testifying to Python’s introspective power. On the other hand, often the quickest way to debug a program is to add a few print statements to the source: the fast edit-test-debug cycle makes this simple approach very effective.
CPython, the reference implementation of Python, is free and open-source software and has a community-based development model, as do nearly all of its alternative implementations. CPython is managed by the non-profit Python Software Foundation.
No comments:
Post a Comment