PYTHON THE MOST POWERFULL WORKING LANGUAGE IN TODAY'S WORLD
PYTHON PROGRAMMING

PYTHON THE MOST POWERFULL WORKING LANGUAGE IN TODAY'S WORLD

Python is an interpretedhigh-levelgeneral-purpose programming language. Created by Guido van Rossum and first released in 1991, Python's design philosophy emphasizes code readability with its notable use of significant whitespace. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.

Python is dynamically typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly, procedural), object-oriented, and functional programming. Python is often described as a "batteries included" language due to its comprehensive standard library.

Python was conceived in the late 1980s as a successor to the ABC language. Python 2.0, released in 2000, introduced features like list comprehensions and a garbage collection system with reference counting.

Python 3.0, released in 2008, was a major revision of the language that is not completely backward-compatible, and much Python 2 code does not run unmodified on Python 3.


DIFFRENCE BETWEEN PYTHON 2 AND PYTHON3 

There are five core diffrence between python 2 and pyhton 3 here i will describe in detail :

1. Python 2 is legacy, Python 3 is the future.

Since Python 2 has been the most popular version for over a decade and a half, it is still entrenched in the software at certain companies.

However, since more companies are moving from Python 2 to 3, someone who wants to learn Python programming for beginners may wish to avoid spending time on a version that is becoming obsolete.

2. Python 2 and Python 3 have different (sometimes incompatible) libraries

Since Python 3 is the future, many of today's developers are creating libraries strictly for use with Python 3.

Similarly, many older libraries built for Python 2 are not forwards-compatible.

You may be able to port a 2.x library to 3.x., but this can be difficult and complicated; it's definitely not a “Python for beginners” type of activity.

3. There is better Unicode support in Python 3

In Python 3, text strings are Unicode by default. In Python 2, strings are stored as ASCII by default–you have to add a “u” if you want to store strings as Unicode in Python 2.x.

This is important because Unicode is more versatile than ASCII. Unicode strings can store foreign language letters, Roman letters and numerals, symbols, emojis, etc., offering you more choices.

4. Python 3 has improved integer division

In Python 2, if you write a number without any digits after the decimal point, it rounds your calculation down to the nearest whole number.

For example, if you’re trying to perform the calculation 5 divided by 2, and you type 5 / 2, the result will be 2 due to rounding. You would have to write it as 5.0 / 2.0 to get the exact answer of 2.5.

However, in Python 3, the expression 5 / 2 will return the expected result of 2.5 without having to worry about adding those extra zeroes.

This is one example of how Python 3 syntax can be more intuitive, making it easier for newcomers to learn Python programming.

5. The two versions have different print statement syntaxes

This is only a syntactical difference–and some may consider it trivial–so it doesn’t affect the functionality of Python. That said, it is still a big and visible difference you should know about.

Essentially, in Python 3, the print statement has been replaced with a print () function.

For example, in Python 2 it is print “hello” but in Python 3 it is print (“hello”).


When it makes sense to learn Python 2

Here are some situations where you might need to know Python 2:

  • If you want to become a DevOps engineer and work with configuration management tools like Fabric or Ansible, you might have to work with both Python 2 and 3 (because parts of these libraries don’t have full Python 3 support).
  • If your company has legacy code written in Python 2, you’ll need to learn to work with that.
  • If you have a project that depends on certain third-party software or libraries that can't be ported to Python 3, you'll have no choice but to use Python 2 for it.

WHAT IS IDE ?

An integrated development environment is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of at least a source code editor, build automation tools and a debugger.

we have two type of IDE avilable is online IDE and OFFLINE IDE :

online IDE : live IDE like cmd promt of python

No alt text provided for this image

here these three >>> has some meaning its know as REPL(

offline IDE:first write code inside file and run it using cmd

No alt text provided for this image
No alt text provided for this image

Python Applications

Python supports cross-platform operating systems which makes building applications with it all the more convenient. Some of the globally known applications such as YouTube, BitTorrent, DropBox, etc. use Python to achieve their functionality.

1. Web Development

Python can be used to make web-applications at a rapid rate. Why is that? It is because of the frameworks Python uses to create these applications. There is common-backend logic that goes into making these frameworks and a number of libraries that can help integrate protocols such as HTTPS, FTP, SSL etc. and even help in the processing of JSON, XML, E-Mail and so much more.


Some of the most well-known frameworks are DjangoFlask, Pyramid. Why use a framework? The security, scalability, convenience that they provide is unparalleled compared to starting the development of a website from scratch.

2. Game Development

Python is also used in the development of interactive games. There are libraries such as PySoy which is a 3D game engine supporting Python 3, PyGame which provides functionality and a library for game development. Games such as Civilization-IV, Disney’s Toontown Online, Vega Strike etc. have been built using Python.

 

3. Machine Learning and Artificial Intelligence

Machine Learning and Artificial Intelligence are the talks of the town as they yield the most promising careers for the future. We make the computer learn based on past experiences through the data stored or better yet, create algorithms which makes the computer learn by itself. The programming language that mostly everyone chooses? It’s Python. Why? Support for these domains with the libraries that exist already such as PandasScikit-LearnNumPy and so many more.


Learn the algorithm, use the library and you have your solution to the problem. It is that simple. But if you want to go the hardcore way, you can design your own code which yields a better solution, which still is much easier compared to other languages.

4. Data Science and Data Visualization

Data is money if you know how to extract relevant information which can help you take calculated risks and increase profits. You study the data you have, perform operations and extract the information required. Libraries such as Pandas, NumPy help you in extracting information.


You can even visualize the data libraries such as MatplotlibSeaborn, which are helpful in plotting graphs and much more. This is what Python offers you to become a Data Scientist.

5. Desktop GUI

Python can be used to program desktop applications. It provides the Tkinter library that can be used to develop user interfaces. There are some other useful toolkits such as the wxWidgets, Kivy, PYQT that can be used to create applications on several platforms.


You can start out with creating simple applications such as Calculators, To-Do apps and go ahead and create much more complicated applications.

6. Web Scraping Applications

Python can be used to pull a large amount of data from websites which can then be helpful in various real-world processes such as price comparison, job listings, research and development and much more. 

7. Business Application

Business Applications are different than our normal applications covering domains such as e-commerce, ERP and many more. They require applications which are scalable, extensible and easily readable and Python provides us with all these features. Platforms such as Tryton can be used to develop such business applications.

8. Audio and Video Applications

Python can be used to develop applications that can multi-task and also output media. Video and audio applications such as TimPlayer, Cplay have been developed using Python libraries and they provide better stability and performance compared to other media players.


 

9. CAD Applications

Computer-Aided Designing is a very complicated application to make as many things have to be taken care of. Objects and their representation, functions are just the tip of the iceberg when it comes to something like this. Python makes this simple too and the most well-known application for CAD is Fandango.

10. Embedded Applications

Python is based on C which means that it can be used to create Embedded C software for embedded applications. This helps us to perform higher-level applications on smaller devices which can compute Python.


THIS MY PROJECT WHICH I HAVE LEARN DURING PYTHON SPECIALIST TRAINING

Its like a application which can open you tools without anything do just write you tools name which present in list .

No alt text provided for this image
No alt text provided for this image

I

THANK YOU FOR READ MY ARTICAL.

要查看或添加评论,请登录

Komal Habura的更多文章

  • BY USING REDHAT ANSIBLE AUTOMATION APACHE HTTPD SERVER ON REMOTE HOST

    BY USING REDHAT ANSIBLE AUTOMATION APACHE HTTPD SERVER ON REMOTE HOST

    What is Ansible and How To Use Ansible in Docker? If you’re in IT, you hear about Ansible more and more lately. CIO…

  • AWS Task2 :- static content delivery by using aws cloudfront service

    AWS Task2 :- static content delivery by using aws cloudfront service

    Task 2 Description - aws ??Create High Availability Architecture with AWS CLI ??The architecture includes- ? Webserver…

  • How Does Use Machine Learning in today's world ?

    How Does Use Machine Learning in today's world ?

    Artificial intelligence (AI) and machine learning is now considered to be one of the biggest innovations since the…

    1 条评论
  • AWS-CSA Training Task

    AWS-CSA Training Task

    This task challenge is complete by using command line inteface 1.Create key pair 2.

    2 条评论
  • HYBRID MULTI CLOUD COMPUTING TASK-3

    HYBRID MULTI CLOUD COMPUTING TASK-3

    Statement: I want to create a web portal for our company with all the security as much as possible. So, we use…

  • HYBRID MULTI CLOUD TASK-4

    HYBRID MULTI CLOUD TASK-4

    What is VPC? Amazon Virtual Private Cloud (Amazon VPC) enables you to launch AWS resources into a virtual network that…

    2 条评论
  • EKS (elastic kubernetes service ) project

    EKS (elastic kubernetes service ) project

    What is Amazon EKS? Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy for you to…

  • DEVOPS WITH MACHINE LEARNING

    DEVOPS WITH MACHINE LEARNING

    DEVOPS WITH MACHINE LEARNING PROJECT The terms ‘MLOps’ and ‘AIOps’ are appearing more and more. Many from a traditional…

    4 条评论

社区洞察

其他会员也浏览了