Python Introductory article Python introduction

Source: Internet
Author: User

Python is a literal translation of a dynamic programming language. Python does not need to declare types for variables, parameters, and functions, which makes Python's code more streamlined and flexible. Python is the type of tracer variable at run time. If the code reads a variable that is not initialized, the Python runtime throws an error.

Python interpreter is easy to use C and C + + to expand the new functionality is the data type.

Python is good for helping us with some automated tasks. You can certainly use UNIX scripts or Windows batch files to handle some automated tasks, but shell scripts are good at moving files and modifying text data but not for GUI applications and games. You can also c/c++/java to write programs to accomplish automated tasks, but this can take a lot of development time to implement the functionality that Python is very easy to implement.

Python is not only capable of completing simple automation tasks that UNIX scripts and Windows batch files can accomplish, but also for large-scale programming. Python provides a more powerful type error check than the C language, Python has an advanced data type such as a scalable array (flexible array) and a dictionary (dictionaries). Because Python has a wider range of data types, it is better suited to dealing with big problems than awk and Perl.

Python uses three points to make it more concise than the C/c++/java language:

  • Advanced data types allow you to implement complex operations in short expressions.
  • The code snippet is indented instead of square brackets.
  • It is not mandatory to declare variables and parameters.

Python Introductory article Python introduction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.