Latest web development tutorials

Introduction to Python

Python is a high-level combination of interpretive compiler, interactive, and object-oriented scripting language.

Python design highly readable, compared to other languages ​​often use English keywords, punctuation other languages, it has more features than any other language grammar structure.

  • Python is an interpreted language: This means that the development process does not compile this link.Like PHP and Perl languages.

  • Python is an interactive language: This means that you can in a Python prompt to interact directly write your program.

  • Python is an object-oriented language: This means that Python supports object-oriented programming style or code encapsulated in technical objects.

  • Python is the language beginners: Python for junior programmers, is a great language, which supports the development of a wide range of applications, from simple word processing to the WWW browser and then to the game.

Python development history

Python by Guido van Rossum in the late 1980s and early 1990s, the Dutch National Institute of Mathematics and Computer Science designed.

Python itself from the many other languages ​​evolved, including ABC, Modula-3, C, C ++, Algol-68, SmallTalk, Unix shell, and other scripting languages, and so on.

Languages ​​like Perl, Python source code is likewise follow GPL (GNU General Public License) agreement.

Python is now a core development team in maintaining, Guido van Rossum continues to occupy a vital role in guiding its progress.

Python Features

  • 1. Easy to learn: Python has relatively few keywords, simple structure and syntax of a clearly defined learning curve easier.

  • 2. Easy to read: Python code definition clearer.

  • 3. Easy to maintain: Python's success lies in its source code is fairly easy to maintain.

  • 4. A wide range of standard library: One of the biggest advantages of Python is a rich library, cross-platform, on UNIX, Windows and Macintosh compatible well.

  • 5. Interactive mode: interactive mode, you can enter to execute code from the terminal and obtain the language test and debug code snippets to interact.

  • 6. Portable: Based on the characteristics of its open source, Python has been ported (ie to make it work) to many platforms.

  • 7. Scalable: If you need to run some fast key code, or want to write some algorithms do not want to open, you can use C or C ++ to complete that part of the program, and then call from your Python program.

  • 8. Database: Python provides an interface to all major commercial databases.

  • 9.GUI Programming: Python GUI support can be created and ported to many system calls.

  • 10. Can Embed: You can embed Python C / C ++ program that allows the user of your program was "scripted" capability.