Python is a high-level scripting language that combines interpretation, compilation, interactivity, and object-orientation.
Python is designed to be pretty readable. Compared to other languages, it uses English keywords very often, as well as some punctuation marks, which makes itself more distinctive in grammatical structure than other programming languages.
- Python is an interpreted language. It means there is no compilation during the development, for which it is similar to PHP and Perl.
- Python is an interactive language. It means that you can execute code directly after a Python prompt >>> .
- Python is an object-oriented. It means that Python supports an object-oriented style or programming technique where codes are contained in objects.
- Python is friendly to beginners. Python is a great language for junior programmers. It supports a wide range of application development, from simple word processing to websites and to games.
The History of Python
Python was designed by Guido van Rossum at the Dutch National Institute of Mathematics and Computer Science in the late 1980s and early 1990s.
Python itself is also derived of many other programming languages, including ABC, Modula-3, C, C++, Algol-68, SmallTalk, Unix shell and other scripting languages, etc.
The Python source code adheres to GPL (GNU General Public License) agreement.
Python is now maintained by a core development team, and Guido van Rossum still plays a crucial role in guiding its progress.
Python 2.0 was released on October 16, 2000, which added full garbage collection and supported Unicode.
Python 3.0 was released on December 3, 2008. This version is not fully compatible with the previous Python source code. Nevertheless, many new features of Python3 were later ported to the old Python 2.6/2.7 version.
Python 3.0 version is often called Python 3000, or Py3k for short. Compared with earlier versions of Python, it is a substantial upgrade.
Python 2.7 is determined to be the last Python 2.x version. In addition to supporting Python 2.x syntax, it also supports part of Python 3.1 syntax.
Features of Python
- Easy to learn: Python has relatively few keywords, simple structure, and a clearly defined grammar, making it easier to learn.
- Easy to read: Python code definition is clearer.
- Easy to maintain: Python’s success lies in its source code is fairly easy to maintain.
- A wide range of standard libraries: One of the biggest advantages of Python is its rich library, cross-platform, and compatible with UNIX, Windows and Macintosh.
- Interactive mode: The interactive mode is supported, you can enter the language to execute the code and get the result from the terminal, interactive test and debug code fragments.
- Portability: Based on its open source characteristics, Python has been ported (that is, to make it work) to many platforms.
- Scalable: If you need a key code that runs fast, or you want to write some algorithms that you don’t want to open, you can use C or C++ to complete that part of the program, and then call it from your Python program.
- Database: Python provides interfaces to all major commercial databases.
- GUI programming: Python supports GUI that can be created and adapted to many system calls.
- Embeddable: You can embed Python into C/C++ programs, allowing users of your programs to obtain the ability to “script”.
- Youtube-video social networking site
- Reddit. social sharing site
- Dropbox. file sharing service
- Douban.com. A database website for books, records, movies and other cultural products
- Zhihu. A Q&A Website
- Bottle. Python micro web framework
- EVE. Online game EVE uses Python extensively for development
- Blender. Open source 3D drawing software using Python as a modeling tool and GUI language
- Inkscape. An open source SVG vector graphics editor.