Speaker A
Hello everyone, this is Bhavan. So, in this video, I'm going to explain what is the introduction to Python, what are the most popular languages we have in 2018, what are the Python features, and we will compare Python with other languages. We will also cover the history of Python, then we'll see Python applications, and finally, we will see what are the top companies currently using Python. Now, let's start. So, introduction to Python. Basically, Python is a high-level object-oriented scripting language. It is an open-source language. Just like Java, Python is also an open-source language. It is freely available, and it is also platform independent. So, we can install and work with Python on multiple platforms like Windows, Linux, Unix, Mac, or other operating systems. Now, let's see the most popular languages currently we have in 2018. If you see the multiple languages here, Python, C++, Java, Ruby, JavaScript, C, PHP, and C#. Python will occupy the highest percentage, like 29.8% of the people are currently using Python this year. Java is almost 25%, 25.8% of the people are currently using Java. So, when you compare with other programming languages, Python and Java will be very top level. Again, if you compare these two, Python is a language which is very popular coding language according to 2018 in the current year. Now, we'll see what are the different features of Python. Python is an interpreted language. So, what is an interpreted language? In Python, each and every line will be verified. There is a big difference between interpreted and compiled languages. In some programming languages like Java, we use a compiler, which means all the lines of code will execute at once and throw all exceptions and errors. In case of an interpreter, the program will be interpreted or checked line by line during execution. If you find any issue in that particular line, it will throw an exception. So, that's the basic difference between interpreter and compiler. Here, Python is basically an interpreted language, and it is more interactive. Interactive in the sense that Python provides many kinds of command line interfaces where we can directly interact with Python in different ways. Python is an object-oriented language just like Java. Python also supports classes, objects, polymorphism, inheritance, and all kinds of object-oriented programming concepts. Python is a beginner's language. Why is it a beginner's language? Because it is very easy to use. It is just like English kind of statements we have in Python. Nowadays, Python has become very popular because of its easiness. Not only easiness, Python is also used in multiple fields, multiple departments, multiple technologies, and by different top companies. These are the basic features of Python. It is interpreted, interactive, object-oriented, and moreover, it is a beginner's language. So, when you start learning programming, you can start with Python. Now, let's compare Python with other languages. If you want to print a small message like "Hello World" as output, in other languages like C, C++, and Java, we need to write this much code. If you see in C, we need to first specify the include stdio.h, the main method, printf command, and return 0. This much code we have to write in C programming. The same thing in C++, we have to write code like this: include iostream, then the main method, cout, and return 0. The same program, if you want to write in Java, we have to first create the class, and within the class, we need to have the main method, and we need to use the out method. If you come to Python, the same thing we can achieve with a single statement. We don't have any kind of include statements or main methods. We can directly add the print command, which will print the output in the console window. See here, this small thing, if you use other languages, you have to write more steps. But in Python, it can be done within a single line of code. So, if you have only a small task, you can just reduce the code to one line. Suppose if I want to achieve some task in Java, it takes, let's say, 1000 lines of code. We have written for certain functionality in Java. But the same thing if you're writing in Python, it will be completed within 100 lines of code approximately. That's the reason people prefer to use Python for all kinds of fields. This is our basic comparison of Python with other languages. Now, let us see the history of Python, where it started. The implementation of Python was started in December 1989 by Guido van Rossum at CWI in the Netherlands. In February 1991, van Rossum published the code. That labeled version is 0.9.0. The first time in 1991, they published that code. In 1994, Python 1.0 was released officially with new features like Lambda, Map, Filter, and Reduce. Then Python 2.0 added new features like list comprehension, garbage collection systems, and so on in 2.0. On December 3rd, 2008, Python 3.0 was released. This version is also called Py3k. Currently, both Python 2 and Python 3 versions are available. On top of Python 2, we have 2.1, 2.3, and other 2.x versions. There are many versions available. Parallelly, on Python 3, there are multiple versions available like 3.1, 3.2, 3.3, and other 3.x versions. In the future, Python 3 will be implementing new features. They are not going to implement anything on Python 2. Python was basically designed or developed by influencing ABC language and Modula-3. These are the two core languages that influenced Python's development. So, this is the history of Python. Now, let us see what are the different applications or areas where Python is currently used in the market. Especially for development, web development. Suppose we want to develop a web-based application. Python is widely used by web developers. Especially for testing also. Automation testing is also done using Python, especially with Selenium. Along with Java, some people also use Python with Selenium. Another area is data analysis, especially for Hadoop or big data environments. They need to analyze customer data, and for that, they are using Python for analyzing data in data science, artificial intelligence, and machine learning. Almost the latest technologies or whatever applications are newly coming up in the market, Python is used in almost every technology or application. That's the reason it has become very popular. These are the different applications where Python is used as a programming language. Now, let's see what are the top companies currently using Python. Especially YouTube, Facebook, Dropbox, Yahoo, Mozilla, Google search engine, and IBM. These are the top companies using Python rigorously or widely. Especially for NASA, there are a lot of applications using Python. Even in the Google search engine, especially Google search engine, they are using Python. Facebook is also using Python, and YouTube is also using Python for data analysis and everything. These are the top companies currently using Python. All right, so that's all for this video. Thank you all. Please subscribe to my channel to get more updates. Thank you all. Hello everyone, this is Pawan. In this video, I am going to show you how to install Python on Windows. Then I will show you how many ways we can run our Python code.