If you do a lot of work on the computer, eventually you find that there are some tasks that you want to automate. For example, you might want to perform a search and replace a large number of text files, or rename and rearrange a bunch of photo files in a complex way. Perhaps you want to write a small custom database, or a dedicated graphical user interface application, or a simple game.
If you are a professional software developer, you may have several C/d + +/Java libraries working, but found usually write / compile / test / The recompile cycle is too slow. Perhaps you are writing a test suite such a library and finding a tedious task to write the test code. Or maybe you've written a program that can use the extended language that you don't want to design and implement for your application in a completely new language.
You can write a Unix shell script or some task for a Windows batch file, but it is the best Shell script, In moving files and changing text data, graphical user interface applications or games are not suitable. You can write a c/D + +/Java program, but it can take a lot of development time even the first draft proposal. Python is easy to use, available in Windows,Mac OS X and Unix the operating system will help you get the job done faster.
Python is simple to use, but it is a real programming language that provides more structure and shell scripts or batch files that can provide support than large programs. On the other hand,Python also provides more error checking than C is a very high-level language, which has high-level built-in data types such as flexible arrays and dictionaries. Because of having more common data types,Python is suitable for a larger problem domain than Awk or even Perl, But at least a lot of things are easy in Python these languages.
Python allows you to split your program module, which can be reused in other Python programs. It comes with a standard module where you can use the basics of your program - or as an example to start learning a large collection of Python programming . These modules provide a number of things such as file I/O, System calls, sockets, and even interfaces like Tk graphical user interface.
Python is an explanatory language that can save you a lot of time during program development, because you don't need to compile and link. The interpreter can be used interactively, which makes it easy to experiment with language features, write thrown-out programs, develop or test functions in a bottom-up program. It's also a handy desktop calculator
Python makes writing applications compact and readable. Python writes programs that are usually much shorter than the same C,C + + or Java Programs, There are several reasons for this:
High-level data types allow you to express complex operations in a single statement ;
The organization of a statement relies on parentheses that are not beginning and ending ;
No variable or parameter declaration is necessary.
Python is extensible: If you know how the C program is easy to add a new built-in feature or an explanation of the module, whether it's performing key operations at maximum speed, or linking python The library may only be available in binary form (such as vendor-specific graphics libraries). Once you're really hooked, you can link to a Python interpreter written by the application in C and use it as an extension or command-line language for that application.
Why programmers want to learn Python