Python – Use of Python

Use Of Phython

Python is a Well Designed Programming Language and is capable of Accomplish any kind of Real World Computing Task in the world. It has not been developed to meet any kind of need, rather we can use it to develop application related to any kind of domain.
use of python
As a result, due to being a General-Purpose Scripting Language, Python can be used to develop infinite types of applications using unlimited methods. We can Use it equally Powerful Ways to Develop Application Web, much as Game Develop to, Robotics and Artificial Intelligence And Machine Learning Algorithms to Develop to or Spacecraft the Operating System to Develop a Program or Operating System Program to Network To remotely control .
Although we can meet any kind of need using Python, some of Python's most frequently used capacities can be understood in advance:-

System Programming

Python has built-in Interfaces related to accessing the Underlying Operating System, due to which it becomes quite easy and convenient to develop Maintainable System-Administration Tools and Utilities also called Shell Tools.
For example, we can easily search for any File and Directory Trees in the File System of Underlying Operating System, launch other Executable Programs, through these Built-In Interfaces in any Python Program. Parallel Processing can be done with Processes and Threads and many other types of Task Accomplish, which may have to follow a long procedure in other Programming Languages ​​to perform.
We can do this in Python because Python Interpreter uses lower level languages ​​like C / C ++ in a highly integrated manner and almost all operating systems rely on C / C ++ and Assembly Language Codes at their core level only because Operating System. K Core Level requires high performance, which is possible only through C / C ++ and Assembly Language and is much better integrated with Python in Lower Level Languages.
Python's Standard Library is available with POSIX bindings that provide almost all types of Usual OS tools such as Environment Variables, Files, Sockets, Pipes, Processes, Multiple Threads, Regular Expression Pattern Matching, Command Line Arguments, Standard Stream Interfaces, Shell- Command Launchers, Filename Expansion, Zip File Utilities, XML & JSON Parsers, CSV File handlers etc. and supports a lot of functionalities at Core Level.
That is, to meet the needs of these operating system levels, we do not have to use any library separately. Python's Standard Library defaults all these OS Level Tools and Utilities by default.
Not only this, Python's System Interfaces are fully designed with Portability Support. So that a single Standard Library can access and manipulate different types of Operating Systems and Underlying Hardware equally.
For example, Python's Script, which copies Directory Trees for Linux OS, also copies the same directory tree for Windows OS. While both operating systems work in a completely different way, this is because the Python Interpreter's Standard Library knows which operating system and Underlying Hardware Architecture it is installed on, based on which it is able to decide Is how to copy the directory structure of Linux OS and how to copy the directory structure of Windows OS.

Graphical User Interfaces – GUIs

When we use Python to develop desktop applications , then Python provides us many different GUI Libraries, due to which Python's GUI designing process becomes very simple and fast. Developing a GUI in Python is so easy that in order to create a simple window we only have to write Python Code of 3 to 4 Lines, while if we do the same through the Standard C Library, then we have more than 100 Lines. May have to write Codes.
Python Default as the Desktop GUI to to Develop Tk GUI API a Standard Object Oriented Interface The Support whom tkinter is known. tkinter allows us to develop Portable Native GUI. That is, when we design a GUI using tkinter, then the look and feel of our GUI is completely according to our Operating System which is why all other GUIs of Current Operating System which is Standard Look and Feel, our Python Program The look and feel of the GUI is also similar.
When we develop the Python / tkinter GUI, our GUI is the same run on Windows, X-Windows ( for Unix and Linux ), MacOS ( on Classic and OS X both ) without any change.
In addition to tkinter , if we also use a free extension package called PMW , our tkinter GUI toolkit gets some advanced Widgets and Add, which are not available in tkinter's Standard Library. We can use these special widgets to meet some different needs which are not available in tkinter's Standard Library. For example Notebooks, Comboboxes, Selection, Paned, Scrolled, Dialog Windows, etc… are not available in the standard tkinter library, but they can be obtained from PMW.
Apart from this, we can also design Python GUI using the wxPython GUI API based on C ++ Library which is an alternative toolkit that allows us to construct Portable GUI in Python. There is also a higher level GUI Development Toolkit named Dabo which has been developed based on Base API of wxPython and tkinter .
Apart from these, there are many other types of libraries, using which we can develop Python GUI of high quality. For example PyQt, GTK with PyGTK, MFC with PyWin32, .Net with IronPython, Jpype and Swing with Jython which is a Java version of Python, we can also design Python GUI.
For applications that run in Web Browser, or for which Simple User Interface is required, we can also use Jython, Python Web Frameworks ( Flask, Django, etc. ) or Server-Side CGI Scripts , In which the User Interface is usually created through HTML5 / CSS3 because in Web Browser only the GUI can be created.

Internet and Network Programming

Standard Internet Modules in Python are also included as Standard Library which allows us to easily implement various types of Networking Tasks related to Client Side and Server Side. for example:-
  • Communicate through sockets between client-servers .
  • Extract the information of the HTML form sent to the Server Side CGI Scripts .
  • File transfer can be done on the network through FTP .
  • XML and JSON Documents can be generated and parse.
  • Emails to Send, Receive, Compose and Parse can.
  • Fetch Web Pages with URLs .
  • Communication between client-servers can be done through XML-RPC, SOAP and Telnet .
There are many other similar tasks, which we do not need a separate library to accomplish. Python provides all the necessary Codes in the form of Core Libraries or Standard Libraries to meet different types of Basic Networking needs.
Apart from this, there is a large collection of Libraries related to Internet Programming as Third-Party Tools on the Web, which a Programmer does not have to pay anything to use and as Programmer we can use these Free Third-Party Libraries By using the Internet and Web Programming related to different types of needs can be easily met. for example:-
  • The HTMLGen System generates HTML files based on Python’s Class Based Description.
  • Python runs quite efficiently under Apache Web Server through mod_python Package and also supports Server-Side Templating through Python Server Pages .
  • Jython System provides the facility of Python / Java Integration, through which we can code such Server Side Applets ( Servlets ) using Java Programming Language which is run in Client Side.
  • Using Full-Fledged Web Development Frameworks like Django, Flask, TurboGears, WebWare, Pylons and Zope , we can easily develop any type of Web Application or Web Site / Blog based on Python. These Third-Party Tools help us to develop Quickly Production Ready Web Applications, including O bject- R elational M appers ( ORM ), M odel- V iew- C ontroller ( MVC ) Architecture, Server-Side Scripting and Templating and There are features like AJAX Support that provide us complete enterprise level web development solutions.
  • Now for Python we also get packages that provide the facility of R ich I nternet A pplications ( RIA ) where we use specific types of Rich using tools like Python-to-JavaScript Compiler, AJAX Framework and Widget Set. Web Applications can develop.
  • Python can now be used a lot in Cloud Computing by App Engine .