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