Why Python?
1. Python is free to use.
2. Python is very beginner-friendly.
3. Python is easy to program and read.
4. The syntax (words and structure) is extremely simple to read and follow, most of which can be understood even if you do not know any programming.
5. Similar to PERL, but with powerful typing and object-oriented features
6. Software Quality: python focus on readability, coherence and software quality in general which sets it apart from other languages in the scripting world.
7. Developer productivity: python code is typically only 30% to 60% size of the equivalent C++ or Java(all-time favorite).this means there is less code, less code write, less error, less to debug, less to memory requirement and less to maintain.
8. Program Portability: python program run unchanged on all major computer platforms.Cross-platform {windows, Mac OS, Linux and many more}
9. Support libraries: python comes with tons of prebuilt and portable functionality called as standard Library.
10. Programmers enjoy coding in python because of powerful libraries which produce wonderful results with less code.
What can Python do?
1. Python is a fully-functional programming language that can do anything almost any other language can do, at comparable speeds.
2. Python is capable of threading and GPU processing just like any other language. Most of the data processing modules are actually just Python wrappers around C/C++ code.
3. Modules" are pre-written Python code that you "import" in your Python program. Since there are many tasks that people commonly do, we have modules that people have written that do these tasks for you, and they usually do them in the cleanest and most efficient method possible. Sometimes you will see people refer to "DRY." This stands for Don't Repeat Yourself, which often also translates into "Don't Repeat Someone Else."
4. The phrase "wrapper" means that someone has placed, like a wrapper, Python code over another language. So, when you have a Python wrapper around C++ code, what someone has done is written some Python code that interacts with the C++ language. This allows you to make use of various aspects of the language being wrapped, in this case, C++, without actually needing to know or understand that language.
Thus, Python can be used to make games, do data analysis, control robot, and hardware, create GUIs, or even to create websites.
"GUI" stands for Graphical User Interface and is used to describe a program that incorporates graphics to make the program more interactive for the user.
Some programming-language features of Python are:
• A variety of basic data types are available: numbers (floating point, complex, and unlimited-length long integers), strings (both ASCII and Unicode), lists, and dictionaries.
• Python supports object-oriented programming with classes and multiple inheritance.
• Code can be grouped into modules and packages.
• The language supports raising and catching exceptions, resulting in cleaner error handling.
• Data types are strongly and dynamically typed. Mixing incompatible types (e.g. attempting to add a string and a number) causes an exception to be raised, so errors are caught sooner.
• Python contains advanced programming features such as generators and list comprehensions.
• Python's automatic memory management frees you from having to manually allocate and free memory in your code.
1. Python is free to use.
2. Python is very beginner-friendly.
3. Python is easy to program and read.
4. The syntax (words and structure) is extremely simple to read and follow, most of which can be understood even if you do not know any programming.
5. Similar to PERL, but with powerful typing and object-oriented features
6. Software Quality: python focus on readability, coherence and software quality in general which sets it apart from other languages in the scripting world.
7. Developer productivity: python code is typically only 30% to 60% size of the equivalent C++ or Java(all-time favorite).this means there is less code, less code write, less error, less to debug, less to memory requirement and less to maintain.
8. Program Portability: python program run unchanged on all major computer platforms.Cross-platform {windows, Mac OS, Linux and many more}
9. Support libraries: python comes with tons of prebuilt and portable functionality called as standard Library.
10. Programmers enjoy coding in python because of powerful libraries which produce wonderful results with less code.
What can Python do?
1. Python is a fully-functional programming language that can do anything almost any other language can do, at comparable speeds.
2. Python is capable of threading and GPU processing just like any other language. Most of the data processing modules are actually just Python wrappers around C/C++ code.
3. Modules" are pre-written Python code that you "import" in your Python program. Since there are many tasks that people commonly do, we have modules that people have written that do these tasks for you, and they usually do them in the cleanest and most efficient method possible. Sometimes you will see people refer to "DRY." This stands for Don't Repeat Yourself, which often also translates into "Don't Repeat Someone Else."
4. The phrase "wrapper" means that someone has placed, like a wrapper, Python code over another language. So, when you have a Python wrapper around C++ code, what someone has done is written some Python code that interacts with the C++ language. This allows you to make use of various aspects of the language being wrapped, in this case, C++, without actually needing to know or understand that language.
Thus, Python can be used to make games, do data analysis, control robot, and hardware, create GUIs, or even to create websites.
"GUI" stands for Graphical User Interface and is used to describe a program that incorporates graphics to make the program more interactive for the user.
Some programming-language features of Python are:
• A variety of basic data types are available: numbers (floating point, complex, and unlimited-length long integers), strings (both ASCII and Unicode), lists, and dictionaries.
• Python supports object-oriented programming with classes and multiple inheritance.
• Code can be grouped into modules and packages.
• The language supports raising and catching exceptions, resulting in cleaner error handling.
• Data types are strongly and dynamically typed. Mixing incompatible types (e.g. attempting to add a string and a number) causes an exception to be raised, so errors are caught sooner.
• Python contains advanced programming features such as generators and list comprehensions.
• Python's automatic memory management frees you from having to manually allocate and free memory in your code.
Comments
Post a Comment