Learn Python - Full Fundamental Course for Beginners | Python Tutorial for Beginners [2019]

Brief Summary

This YouTube transcript provides a comprehensive introduction to Python language fundamentals. It covers essential topics such as:

  • What Python is and its key features.
  • The history and development of Python.
  • Basic concepts like identifiers, reserved words, and data types.
  • The differences between Python 2.x and 3.x.
  • Practical aspects like type casting and the use of various data types.

The transcript aims to equip beginners with a solid foundation in Python programming.

Introduction to Python Language Fundamentals

The video introduces a series of Python language fundamentals, including input/output statements, operators, and flow control, spanning approximately 25 topics. It stresses the importance of mastering the basic concepts, as proficiency in these areas will greatly simplify understanding more advanced topics later on. The initial units, such as language fundamentals, operators, and flow control, require special attention to ensure a solid grasp, which will make subsequent concepts easier to understand.

Language Fundamentals: Introduction

The language fundamentals section covers a range of topics, starting with an introduction to Python, its origins, and syntax. It also explores the application areas of Python, highlighting its features and limitations. The discussion includes different Python flavours like Jon, Anaconda, and IronPython, as well as various versions such as Python 2.x and 3.x. Key concepts such as identifiers, reserved words, and data types are also addressed, with a mention of the 14 data types to be discussed. The section concludes with an overview of type casting, explaining how to convert between different data types.

What is Python?

Python is defined as a programming language used to develop various applications, from small tools to web applications. It's a high-level language, meaning it's programmer-friendly and abstracts away from low-level, machine-specific details. This allows programmers to focus on the logic of their code without worrying about memory management or other low-level activities. Python's syntax is designed to be easily readable and understandable, even without prior programming knowledge.

High Level Programming Language

Python is a high-level programming language, which means it is programmer-friendly and does not require developers to manage low-level details. The code is easy to understand, even without programming knowledge. Low-level activities such as memory management and security are handled by Python itself. The example code provided demonstrates how Python's syntax is simple and readable, making it easy to understand the logic without needing programming expertise.

General Purpose Programming Language

Python is a general-purpose, high-level programming language suitable for developing various types of applications, including desktop, web, data science, and machine learning applications. The term "high-level" indicates that Python is programmer-friendly, abstracting away low-level activities like memory management and security. "General purpose" means Python is not limited to a specific domain and can be used across different fields.

Who Developed Python?

Python was developed by Guido van Rossum, who is often referred to as the "father of Python." He began developing Python in 1989 while working at the National Research Institute in the Netherlands. Python was officially released to the public in 1991. Despite being older than Java (which came out in 1995), Python's popularity surged later due to its suitability for modern market requirements like artificial intelligence, machine learning, and IoT.

Why Python Became Popular?

Python's popularity surged due to its simplicity, ease of understanding, and concise code, making it ideal for current market needs such as artificial intelligence, machine learning, and IoT. Its ability to write less code to fulfil requirements, also known as concise code, is highly valued. The language's suitability for trending market requirements has driven its increased adoption and popularity.

Pre Requisites to Learn Python

To learn Python, no prior programming knowledge is required; the ability to read English is sufficient. Python's ease of use allows even school children to learn and write programs. The video uses the "Hello, World!" program to illustrate Python's simplicity compared to C and Java, where significantly more code is needed to achieve the same result.

Hello World Program in Python, Java and C

The "Hello, World!" program is used to compare the simplicity of Python with C and Java. In C, the program requires multiple lines of code, including header files and a main function. Java requires even more lines, including a class declaration and a main method. In contrast, Python achieves the same result with a single line: print("Hello, World!"). This illustrates Python's concise syntax and ease of use.

Sum of Two Numbers in Python, Java and C

The process of summing two numbers is compared across C, Java, and Python to further demonstrate Python's simplicity. C requires variable declarations, assignments, and a printf statement. Java involves class and method declarations, along with System.out.println. Python accomplishes the same task with just two lines: assigning values to variables a and b, and then printing their sum using print(a + b).

Dynamically Typed Programming Language

Python is a dynamically typed programming language, meaning that you don't need to explicitly declare the type of a variable. The type is inferred at runtime based on the assigned value. This contrasts with statically typed languages like Java, where you must declare the type of each variable (e.g., int a = 10). Python automatically determines the type, making the code more flexible and easier to write.

Example of Dynamically Typed

In Python, the type of a variable is determined at runtime based on the assigned value, unlike Java, where you must declare the type explicitly. For example, in Python, you can assign an integer to a variable a, and later assign a string to the same variable without issue. The type() function can be used to check the current type of a variable at any point in the code.

Why Guido Van Rossum Selected the Word Python

Guido van Rossum, the creator of Python, named the language after the comedy show "Monty Python's Flying Circus," which he enjoyed. This choice was not related to snakes or any technical reason. The video also shares the stories behind the names of Java and Hadoop, highlighting how personal interests and serendipitous events can influence the naming of technology projects.

Programming Paradigms

Python is a versatile language that supports multiple programming paradigms, including functional, object-oriented, scripting, and modular programming. It borrows features from C (functional), C++ (object-oriented), and Perl/Shell script (scripting). This multi-paradigm support allows Python to be used in various ways, making it highly adaptable.

Application Areas of Python

Python is a general-purpose language used in various application areas, including desktop, web, network applications, game development, data analysis, machine learning, artificial intelligence, and IoT. It is used by major companies like Google, Yahoo, Facebook, NASA, Dropbox, and Netflix. Python's versatility and extensive library support make it a popular choice across different domains.

Top Companies Using Python

Many world-class software companies use Python extensively. These include Google, Facebook, Instagram, Spotify, Quora, Netflix, and Dropbox. Python is used in areas such as web search, video sharing (YouTube), and data storage. The language's versatility and ease of integration make it a favourite in various industries.

Features of Python

Python has several key features that make it a popular choice for developers. These include its simplicity and ease of learning, its status as freeware and open source, its high-level nature, platform independence, portability, dynamic typing, support for both procedure-oriented and object-oriented programming, being interpreted, extensible, embedded capabilities, and an extensive library. These features contribute to Python's flexibility and wide applicability.

Simple and Easy to Learn

Python is simple and easy to learn because it has a small set of reserved words (only 33), and its code reads like English statements. This makes it easier for programmers to understand and write code. The concise nature of Python code reduces development time and project costs.

Freeware and Open Source

Python is freeware, meaning it can be used without paying any license fees, even for commercial purposes. It is maintained by the Python Software Foundation, a non-profit organisation. Python is also open source, allowing anyone to access and modify its source code. This has led to the development of multiple customized versions, such as Jon, IronPython, and Anaconda Python, tailored for specific needs.

High Level Programming Language

Python is a high-level programming language, which means it is programmer-friendly and abstracts away low-level details. Programmers can easily read, understand, and write Python code. Low-level activities such as memory management and security are handled by Python itself, freeing developers from these concerns.

Platform Independent

Python is platform-independent, meaning that Python applications can run on different operating systems (e.g., Windows, Linux, macOS) without modification. This is achieved through the Python Virtual Machine (PVM), which converts Python code into a platform-specific format. While Python code is platform-independent, the PVM itself is platform-dependent, requiring a separate version for each operating system.

Portable

Python is portable, meaning Python applications can be easily migrated from one platform to another without requiring significant changes. This is because Python code does not depend on the underlying platform. The process of moving Python programs between different operating systems is straightforward.

Dynamically Typed

Python is dynamically typed, meaning that you don't need to declare the type of a variable explicitly. The type is inferred at runtime based on the assigned value. This allows a single variable to hold values of different types throughout its lifetime.

Procedure Oriented and Object Oriented

Python supports both procedure-oriented and object-oriented programming paradigms. It is an all-rounder, incorporating features from C (procedure-oriented) and C++ (object-oriented). This allows developers to choose the most appropriate style for their project.

Interpreted

Python is an interpreted language, meaning that Python code does not need to be compiled before execution. The Python interpreter handles compilation internally, making the development process more straightforward.

Extensible

Python is extensible, meaning you can extend the functionality of Python applications with code written in other languages like C or Java. This allows you to use existing codebases and improve performance-critical sections by using lower-level languages.

Embedded

Python is embeddable, meaning you can use Python code within applications written in other languages like C# or Java. This allows you to leverage Python's features and libraries in projects primarily built using other technologies.

Extensive Library

Python has an extensive library, offering a wide range of modules and packages for various tasks. This rich library support simplifies development and allows programmers to write concise code. For example, generating a six-digit OTP can be done in just a few lines of Python code using the random library.

Limitations of Python

Python has limitations in mobile application development and enterprise-level applications due to insufficient library support. Additionally, as an interpreted language, Python's performance is relatively low compared to compiled languages like C and C++.

Flavors of Python

Python has multiple flavours, each customized for specific purposes. These include CPython (the standard version), Jon (for Java integration), IronPython (for .NET integration), RubyPython (for Ruby integration), and Anaconda Python (for data science). These flavours exist because Python is open source, allowing for customization to meet different needs.

Python Versions

Python has evolved through several major versions, including Python 1.0 (released in 1994), Python 2.0 (released in 2000), and Python 3.0 (released in 2008). The latest version is Python 3.7.2. Python 3.x is not backward-compatible with Python 2.x, meaning code written for Python 2.x may not run on Python 3.x without modification.

Python 2x vs Python 3x

Python 3.x is not backward-compatible with Python 2.x, as it was developed as a completely independent language. This means that Python 3.x does not guarantee support for code written in Python 2.x. While this lack of backward compatibility can be a problem, it allows Python 3.x to freely add new features and improve the language without being constrained by older versions.

Identifiers

In Python, an identifier is a name used to identify a variable, class, method, or module. Identifiers must follow specific rules: they can only contain alphabet symbols (a-z, A-Z), digits (0-9), and underscores (_). They cannot start with a digit, and Python is case-sensitive, meaning that total, Total, and TOTAL are treated as different identifiers. There is no length limit for identifiers, but it is recommended to keep them concise and meaningful.

Rules to Define Identifiers

Rules for defining Python identifiers include: only alphabet symbols, digits, and underscores are allowed; identifiers cannot start with a digit; Python is case-sensitive; there is no length limit, but it's best to keep them concise; and reserved words cannot be used as identifiers.

Special Identifiers

Special identifiers in Python include those prefixed with underscores. A single underscore (e.g., _x) indicates a protected variable, while two underscores (e.g., __x) indicate a private variable. Identifiers starting and ending with two underscores (e.g., __init__) are magic variables or methods with special meanings in Python.

Reserved Words

Reserved words, or keywords, are predefined words in Python that have special meanings and cannot be used as identifiers. Python has 33 reserved words, all containing alphabet symbols, with only True, False, and None starting with uppercase letters. The video notes that Python does not have a switch statement or a do-while loop, and data types like int, float, and boolean are not reserved words.

Listing Reserved Words

To programmatically list all reserved words in Python, you can use the keyword module. By importing the keyword module and accessing keyword.kwlist, you can retrieve a list of all reserved words in the language.

Data Types

Data types represent the type of data stored in a variable. Python is a dynamically typed language, so you don't need to declare the type of a variable explicitly. The type is inferred based on the assigned value. Python has several built-in data types, including int, float, complex, bool, str, list, tuple, set, frozenset, dict, bytes, bytearray, range, and None.

Dynamically Typed Languages

In dynamically typed languages like Python, you don't need to declare the type of a variable explicitly. The type is inferred based on the assigned value. This contrasts with statically typed languages like Java, where you must declare the type of each variable.

Data Types in Python

Python includes several built-in data types, including int, float, complex, bool, str, list, tuple, set, frozenset, dict, bytes, bytearray, range, and None. The video emphasizes that everything in Python is an object.

In Data Type

The int data type is used to represent whole numbers without a decimal point. In Python 3, there is no separate long data type; the int type can represent arbitrarily large integers. Integer values can be represented in decimal, binary, octal, or hexadecimal forms.

Representing Integral Values

Integral values can be represented in decimal, binary, octal, or hexadecimal forms. Decimal is the default number system. Binary numbers are prefixed with 0b or 0B, octal numbers with 0o or 0O, and hexadecimal numbers with 0x or 0X.

Float Data Type

The float data type is used to represent numbers with a decimal point. Floating-point values can only be represented in decimal form, not binary, octal, or hexadecimal. They can also be represented in exponential form (scientific notation).

Exponential Form

Floating-point values can be represented in exponential form (scientific notation) using the E or e notation. This is useful for representing very large or very small numbers in a compact form. For example, 1.2E3 is equivalent to 1.2 x 10^3, or 1200.0.

Complex Data Type

The complex data type is used to represent complex numbers in the form a + bj, where a is the real part and b is the imaginary part. The imaginary unit is represented by j. The real and imaginary parts can be integers or floating-point numbers. Arithmetic operations can be performed on complex numbers.

Syntax of Complex Data Type

The syntax for complex numbers in Python is a + bj, where a is the real part and b is the imaginary part. The imaginary unit j must be used. The real and imaginary parts can be integers or floating-point numbers. The real and imaginary parts can be accessed using .real and .imag attributes, respectively.

Boolean Data Type

The bool data type represents logical values, which can be either True or False. In Python, True and False must be capitalized. Internally, True is represented as 1 and False as 0, allowing boolean values to be used in arithmetic operations.

String Data Type

The str data type represents a sequence of characters. Strings can be enclosed in single quotes, double quotes, or triple quotes. Python does not have a separate character data type; single characters are also represented as strings.

String Representation

Strings in Python can be represented using single quotes, double quotes, or triple quotes. Triple quotes are used for multi-line strings and docstrings. If a string contains a single quote, it can be enclosed in double quotes, and vice versa.

Triple Quotes

Triple quotes (either single or double) are used for multi-line strings and docstrings. They allow you to define strings that span multiple lines without using escape characters. They are also useful for including both single and double quotes within a string.

Index in String

Python strings support indexing, allowing you to access individual characters using their position. Python supports both positive and negative indexing. Positive indices start from 0, while negative indices start from -1 (representing the last character).

Slice Operator

The slice operator is used to extract a portion (substring) of a string. The syntax is s[begin:end], where begin is the starting index and end is the ending index (exclusive). If begin is omitted, it defaults to 0. If end is omitted, it defaults to the end of the string.

Applications of Slice Operator

The slice operator can be used to perform various string manipulations, such as converting the first letter of a string to uppercase or extracting specific parts of a string. The video provides examples of how to use the slice operator in combination with other string methods to achieve these tasks.

Mathematical Operations on Strings

Python supports certain mathematical operations on strings. The + operator is used for string concatenation, but both operands must be strings. The * operator is used for string repetition, where one operand must be a string and the other an integer.

String Reputation Operator

The * operator can be used to repeat a string multiple times. For example, "Durga" * 3 will result in "DurgaDurgaDurga". This is known as the string repetition operator.

Data Types Summary

The video summarizes the key properties of Python's data types, including their description, mutability, order preservation, indexing, and whether duplicates are allowed. This summary provides a clear overview of the characteristics of each data type.

Type Casting

Type casting is the process of converting a value from one data type to another. Python provides several built-in functions for type casting, including int(), float(), complex(), bool(), and str().

Int Type Casting Function

The int() function is used to convert a value to an integer. It can convert float values (truncating the decimal part), boolean values (True to 1, False to 0), and strings containing integers (in base 10). It cannot convert complex numbers directly.

Float Type Casting Function

The float() function is used to convert a value to a floating-point number. It can convert integer values, boolean values (True to 1.0, False to 0.0), and strings containing numbers (either integers or floats in base 10). It cannot convert complex numbers directly.

Complex Type Casting Function

The complex() function is used to create a complex number. It can take one or two arguments. If one argument is provided, it becomes the real part, and the imaginary part is 0. If two arguments are provided, the first becomes the real part, and the second becomes the imaginary part.

Bool Type Casting Function

The bool() function is used to convert a value to a boolean. For integers and floats, 0 is considered False, and any other value is True. For strings, an empty string is False, and any non-empty string is True.

Str Type Casting Function

The str() function is used to convert a value to a string. It can convert integers, floats, complex numbers, and boolean values into their string representations.

Immutability

Immutability means that once an object is created, its value cannot be changed. In Python, fundamental data types like int, float, complex, bool, and str are immutable. If you try to modify an immutable object, a new object is created instead.

Object Reusability

Python uses object reusability to optimize memory usage. If multiple variables are assigned the same immutable value, they may all point to the same object in memory. This is particularly true for small integers and strings.

Water Registration Application

The video uses a water registration application as an example to illustrate the benefits and drawbacks of object reusability and immutability. In this scenario, if all users share the same city (e.g., Hyderabad), Python might reuse the same string object for the city name across all user records.

Advantages and Disadvantages of Object Reusability

Object reusability improves memory utilization and performance, but it can lead to issues if the shared object is mutable. If one user modifies the shared object, all other users will see the change. To prevent this, Python's immutable data types ensure that changes create new objects, avoiding unintended side effects.

List Data Structure

A list is a data structure that can hold a collection of items. Lists are mutable, meaning their contents can be changed after creation. Lists are ordered, meaning the items have a specific sequence, and they allow duplicate values.

List Properties

Lists are mutable, meaning their contents can be changed after creation. They preserve insertion order, allowing you to access elements in the order they were added. Lists allow duplicate elements and support indexing and slicing.

Tuple Data Structure

A tuple is similar to a list, but it is immutable, meaning its contents cannot be changed after creation. Tuples are often used to represent fixed collections of items.

Set Data Structure

A set is a data structure that stores a collection of unique items. Sets do not preserve insertion order, and they do not allow duplicate values.

Frozen Set Data Structure

A frozen set is an immutable version of a set. Once created, its contents cannot be changed.

Dictionary Data Structure

A dictionary is a data structure that stores key-value pairs. Each key must be unique, and the dictionary allows you to quickly retrieve values based on their corresponding keys.

Range Data Type

The range data type represents a sequence of numbers. It is often used in loops to iterate over a range of values. Range objects are immutable.

Bytes Data Type

The bytes data type represents a sequence of byte values (integers between 0 and 255). Bytes objects are immutable.

Byte Array Data Type

The bytearray data type is similar to bytes, but it is mutable, meaning its contents can be changed after creation.

Escape Characters

Escape characters are special characters used in strings to represent certain actions or symbols. Common escape characters include \n (newline), \t (tab), \r (carriage return), \b (backspace), \' (single quote), \" (double quote), and \\ (backslash).

Comments

Comments are used to add explanatory notes to your code. In Python, single-line comments start with the # symbol. Multi-line comments are not directly supported, but you can use triple-quoted strings as docstrings for documentation purposes.

Constants

Python does not have a built-in mechanism for declaring constants. However, it is a common convention to use uppercase variable names to indicate that a variable should be treated as a constant.

Fundamental Data Types vs Immutability

The video discusses the concept of immutability in Python, particularly in relation to fundamental data types. It

Summarize any YouTube video in seconds

Get summaries like this one for any video, in your language, with the free Summ app.

Download on the Apple Store
Get it on Google Play

Transcript

Full transcript of “Learn Python - Full Fundamental Course for Beginners | Python Tutorial for Beginners [2019]”. Click a timestamp to open the video at that moment. Need another video? Use the YouTube transcript generator.

0:00 [Music] hi friends let me start the first Topic in our Python language fundamentals okay so first language fundamentals next input and output statements operators flow control like almost around 25 topics we are going to discuss right but please make sure you people should have clear clarity about one point sir so if you aware the first basic classes very confidently if you are getting perfection in basic concepts then the

0:47 remaining Concepts will become very very easy for you that's why first four or five units something like language fundamentals operators flow control these kind of things better to have clear clarity automatically remaining things will become very very easy for you people right okay so now the first topic language fundamentals right this is the topic what I have to discuss as a part of language fundamentals okay we have to talk about introduction introduction what is python why the name python why the name python like so General syntax related things I will I will explain next application areas of python so where we can use this python okay next features of python either python in the

1:34 open source or not platform independent or not portable or not like features of python next limitations of python limitations are where we can't use Python okay like next flavors of python okay multiple flavors are available for the python are as it is the open source like Jon anakonda python iron python like multiple flavors are there I will explain next so what are various versions python 2x 2.x python 3.x like we have to discuss about these version related issues right next identifiers concept we have to discuss reserved words concept we have to talk and then data types concept we have to discuss right so under data types concept almost around 14 data types we are going to

2:21 discuss of course all these things fundamental data types I will explain but all these things as a separate topics we are going to discuss in the next sessions also but here basic idea about data types what we are going to use in Python so we are going to discuss right next type casting how to convert from one type to another type is it possible like so this is the agenda related to our language fundamentals Concepts almost around so around around 10 hours we are going to discuss only about these things that's why take a bit very very special care to understand each and every point point if you are very strong in the basics then the remaining things will become so easily you can able to understand the remaining things will become very very easy that's

3:08 why please please make sure you should have clear Clarity you require to spend much time on these Basics right okay sir let me talk about language fundamentals introduction part so first question I will ask can you please tell what is python please respond what is python python we are going to discuss python python almost around 2 months or 3 months time we are going to spend on this on this what is python Please spell out can I use the word can I use the word it is H what is python don't tell s this is one type of snake getting don't tell it is one type

3:53 of snake so in our technical terminology it is a programming language observe that it is the programming language language right we can develop applications by using this language it's a programming language okay like small small applications web applications like we can develop applications by using this python so best example you are using calculator application I'm sure if you know python you can develop that calculator by using our Python language what we are using sir okay a Gmail application you are using Gmail gmail.com that Gmail application we can develop by using python remember so what is python sir python is a programming

4:40 language okay well sir now I can use the word python is high level programming language are you getting python is high level programming language then immediately you ask what is high level high level means programmer friendly language we are not required to worry about lowlevel things are you getting right it is a programmer friendly language not a mission friendly language remember this one sir it's not Mission friendly programmer friendly programmer by simply seeing the code he can understand he can write the code very very easily right it is a programmer friendly language but not Mission

5:26 friendly language remember low level activities so being a programmer we are not required to worry sir what it means here observe that if I can take a is equal to 10 I'm taking 10 B is equal to 20 I'm taking a is equal 10 B isal to 20 C is equal to 30 30 if a greater than b else 40 I'm taking 30 if a greater than b else of what I'm taking print of C sir are you getting print of C sir here do you know if I can take this code are you in the position to

6:12 understand this code okay you are not required to have any programming knowledge remember this one you are not required to have any programming knowledge just observe a is equal 10 oh the value of a is the 10 B is equal 20 the value of B is the 20 C is to 30 if a greater than b 30 if a greater than b else 40 sir so a what is the value of a 10 10 greater than 20 no no 10 is greater than 20 fails so if if it satisfied 30 otherwise it is 40 then obviously what the value of C sir the value of C we are going to get what 40 sir if you have the kid can you please

6:57 show these four lines of the code to were kid can you tell what what thing is happening what thing is happening any person without having any programming knowledge I'm sure sir that person can able to understand okay this type of thing is called high level programming language remember that what is the high level programming language so just a programmer friendly he can able to he can understand very easily he can write very easily right okay well so next low level activities are there memory management next destroying objects next security these things will take care by my language itself being programmer we are not required to worry such a type of languages are by default considered as

7:43 high level programming languages C language C++ Java next python C all these are high level programming languages right then immediately you may have the doubt sir you are writing just four lines of the code is really python code is it going to work is it going to work yes believe me it is really python code sir it is going to print for the answer if you want observe your bit very carefully so same lines of the code I want I want to show so that you people can feel more comfortable right so what the what the code a equal to 10 what I'm trying to take B is equal to 20 C is equal to 30 30 if a greater than b else s 40 I'm taking else I'm taking 40 print of C that's all don't worry sir all

8:30 these lines of the code we will explain in the next sessions very clearly just better to get the basic idea sir okay well now let me let me run this code sir I have to save this code yes I have to save this code yes test.py okay means that so it is the python file remember that I saved this code as test.py I saved sir now let me run this code sir okay let me go to that location let me go to that location I saved this file inside D colon DGA classes okay py py test.py okay we have to use py or otherwise otherwise python test.py he python can you please execute my test.

9:16 py python can you please execute my test. py like this right a equal 10 B is equal 20 c equal 30 like so this is if I execute this code what is the answer by default you are going to get sir simp 40 itself is the answer you are going to get take a bit very special care so means that don't get shock it is perfectly valid code only okay this type of code is called high level high level programming language code programmer can understand very easily programmer can write very easily lowlevel things like memory management security these kind of things my python is going to take care so this type of language is called high level programming language are you in the position to understand right okay one thing next one more observe that

10:04 carefully sir it is a general purpose it is the general purpose it is the general purpose high level programming language so what is the meaning of programming language which can be used to develop programs next high level means programmer friendly programmer friendly general purpose means do you know python is not specific to particular particular area happily you can use for any type of applications right desktop applications web applications next data science applications machine learning applications like everywhere happily you can use it is a general purpose high level programming language itself is nothing but python everyone can

10:51 aware yes friends so only three words I covered what the first word what the first word general purpose for any type of application happily we can use Python high level means programmer friendly low level activities we are not required to worry like memory management security like next programming language which can be used to develop programs this is nothing but python sir okay well so now who developed python who developed developed developed python sir very very simple do you know there is who is the father of python okay who provides food for most of the programmers across worldwide like me and like you now everyone talking about python means the person who created this python who is

11:38 the father of python sir that person is here just observe can you please read this one can you please read gudo gudo van van rosam are you getting guo van rosam this person developed python so in which year first I want to show is face once because our career our life is going to be settled with this Python language compuls we have to see and we have to get the salute man because that person provided food for us okay have a look once I saved one image image image this this person image have a look once man okay the person who introduced python who who the creator of the Python yes this person sir G van rosam observe

12:26 that a bit a bit carefully sir great great person who developed world world the top most easy simplified programming language this person only he's called G rosam okay well sir when this person developed Python programming language sir here there is one small point is there sir until last year okay I learned only Java cc++ Java we never heard about python especially in India we never heard about python okay like but suddenly python okay now the people are start learning obviously python is a new programming language Java is the old programming language some people are going to feel like this remember this one sir so Java came in

13:13 1995 remember this one sir Java came in which year 1995 sir 1995 and officially released in 1996 remember next python when this python came sir 19 1989 only remember this one 1989 only so here means that it is the old language even than Java also remember Java came in 1995 or 1996 but python came in 1989 it is the world World Language right then immediately you may have the doubt sir why suddenly it became popular yes I will explain the reason also just observe so who developed Python language

13:58 gudo when rosam developed Python language in which year sir 1989 clear right okay so while working in National Research Institute while working National Research Institute in Netherland in Netherland so this person gudo van rosam worked in Netherland National Research Institute while working there he developed a Python programming language so in which year this was happened sir 1989 remember that so even it is developed in 199 1989 but it's not released to the public immediately in 1991 in

14:43 1991 s python made available to the public happily you can use this programming language you can develop the programs right so officially python released into the market in 1991 the official date of birth for python is is February okay February 20th 1991 the great day which where when the python was introduced to the public where introduced to the market February 20th 1991 obal datee of birth for the python friends is it clear for all of you right who introduced the python in which here this python got developed next officially when it released to the market so it is developed by gudo Van

15:31 rosam in 1989 while working in National Research Institute Netherland but officially this python made available to the public in 1991 February 20th 1991 is the official date of birth for the python up to this any doubt clear right now immediately you may have the doubt sir python came in 1989 but suddenly why in the 2019 very popular sir why it became popular everyone talk about this why it became trending language like so very simple example I will I will discuss the market requirements keep on changing time to

16:19 time market trends keep on changing time to time so now current market current market situation is if everyone talks about everyone talks about simple language easy to understand sir simple I want a simple language which is easy to understand are you getting easy to understand I want this type of language next second one I have to write very less code are you getting I have to write which code sir very less code to fulfill my requirement this very less code is also known as concise code very

17:04 less code is also known as consise code I want concise code okay like next third one sir very important next third I want these days everyone talks about everyone talks about Sir here artificial intelligence artificial intelligence next and after that mission learning Mission learning next deep learning neural networks okay neural networks that is the data science data analysis like everyone talks about this so for current trending Market requirements even so you know iot also these days the most commonly user iot also right so for these trending requirements best suitable programming language is the python sir so now for these requirement

17:52 current current market requirement so what the best suitable programming language is the python that's why why these days python became popular and more popular everyone so you have some diamond is there but when when there is a value for that diamond is if a market requirement is good for that then automatically this diamond value is growing so Bitcoin was there earlier Bitcoin no one no one bought Bitcoin but these days Bitcoin Bitcoin cryptocurrency like everyone talks about that automatically bitcoin price got rised like anything of course now government's banned slowly it value is rising down okay so means that current market trending requirements which language is going to be best

18:38 suitable python itself is the best suitable that's why Python language became more popular everyone can able to understand right so two points I covered what is python general purpose high level programming language next who introduced python gudo van rosam introduced python in 1918 n while working National Research Institute in Netherland but officially sir python made it available to the public in 1991 official date of birth for python February 20th 1991 so why suddenly python became popular even it is the old programming language but current market trending requirements best suitable compatible language the python that's

19:24 why it is it became more popular when compared with other Lang Lang yes up to this any doubt about this in the last video we covered clearly what is python what is python who introduced python what is the official date of birth for python now I will explain sir if you want to learn a python what are various pre requites are there sir I don't know anything about programming can I learn python or not sir I'm I I know testing I know manual testing so can I learn python or not sir I'm coming from Network background no

20:11 programming knowledge can I learn python or not sir this type of questions in my offline sessions online sessions are very very common sir so just aware only one point if you want to learn a python what thing is required what prerequisite what existing knowledge is simple nothing remember this one you are not required to know anything if you know something then it may be the problem remember that you are not required to know anything to Learn Python just are you in the position to read English statements or not okay if you can read English that thing is more Enough To Learn Python okay that's all so that's

20:57 why even School kid also can Learn Python can write programs by using python that's why don't worry sir if you want to Learn Python if you have the kids if you have the kids better to bring those kids also if you are getting some doubt your kid can clarify that doubt okay that much easy programming language is the python sir orally you can tell any number of words but can you please show some example really is that much easy or not yes ma'am okay if you learned any programming language if you learn any programming language what is the first application hello world application correct or not what the first application we have to discuss hello world application so in C language

21:43 how many lines of the code we have to write to print hello world to the console if it the Java if it the python just I will show sir example one to print hello world to the console so if you go for C language C language code okay here do you know main of course C language code if you want here Ash include Ash include stdio.h S I don't know about this not required we are just I'm showing just see the basic difference so like now I'm taking main now I'm taking main main method main function like here just my

22:28 requirement is print F of hello world print F of hello world like this we have to take that's all this is the code related to C programming language and we have to compile this code and we have to run this code then hello world will be printed to the console assume that sir so odly 1 2 3 4 5 five L of the code wrote okay excellent now if I consider Java Java code what we have to write in Java to print hello world sir very simple Public public class public class

23:14 test public class test in Java everything we have to write inside a class because it is object oriented programming public class test and then public static public static void main method public static vo main method string a public static vo main string array a and then system dot out. printen system. out. printen here we have to take hello hello world hello world like this I'm taking sir hello world and then I have to compile this code I have to

24:02 run this code so to compile most of the people already aware Java C test. Java the code is going to compile once the code compile now Java test are you getting once the code compile Java test this is the this is now you can see Hello World hello world to the console right so if this is the Java code what I have to write to print just let me show sir instead of writing let me show that output also matter of one minute have a look once I have to write Java code okay don't worry even you don't know Java I want to teach Java don't you are not required to worry sir so public class test I'm taking next and after that public okay static void main method

24:51 public static void meain and then string array a okay like now see sy. out. print of hello world of hello world like this I'm taking sir hello world like sir now let me save this code AS test. Java like this I took sir test. Java now let me go to the console okay Java C test. Java we have to compile we have to compile yes the code compile is fine Java test okay like happily hello world will be printed to the the console okay how many lines of the code we require to write to do this almost around the seven lines of the code seven or eight lines of the

25:36 code we have to write okay well so now if it the python if it the python how many lines of the code we have to write how many how many lines of the code we require to write okay if it the python sir can you please guess if it the C language almost four or five lines if the Java language almost around seven lines of the code we wrote can you please confirm if it the python how many lines of the code is required only one line only one line what is that line is print of print of hello world are you getting print of hello world that's all okay semicolon is also optional print of hello world like this right only one line itself is enough we are not

26:23 required to compile just run that's all okay how you can run sir python python test. py assume that I saved this line inside test. py python test. py or shortly some in some systems we can take P py test. py also will work sir okay either this command or this command instead of python you can take just a py happily it's going to run okay let me write let me show this one sir okay here have a look once sir I have test. py is there in that print in hello world like this I'm taking sir hello world hello world like no semicolon next instead of double Cotes you can take single Cotes

27:08 also acceptable okay happily do you know just I want to compile python test.py yes hello world or py test. py hello world is the answer you are going to get have you observed right now just to print hello world if it the C language how much code we have to write if it the Java how much code if it's the python how much code we have to write only one line so if you show this code to your kid okay you are a school school student some third standard fourth standard kid is there sir can you please explain about this code like you can ask your kid Dad what you are doing are getting dad what you are doing I didn't get anything what is public what is class what is test what is public static vo

27:54 main string like he he may not so if any kid coming to learn program program programming language if I show in the first class this is the hello world program like do you know what will happen that kid will run like anything I don't want this programming learn I don't want this programming like but if you show this line This is the simple it the easy way of programming definitely that kid can be yes easily can able to understand like so when compared with any other Lang language either C language or Java language C++ R cop.net okay the easiest programming language is the Python language man okay how many lines of the code we have to write

28:39 please confirm how many lines of the code I wrote only one line that is what the concise code are you getting that's what concise code not only L World program in every area in every area python is always showing yes some some kind of mechanism some benefit when compared with other languages right easiness easiness concise code Library support makes python as more popular these days remember are you in the position to understand right simple hello world program let me go for one more example what I want to take is AR to print some of two numbers that's about my requirement are you getting I have two numbers are there to print some of two numbers I require to print okay

29:24 have a look once sir I will go for that sir I want to print the sum of two numbers this is my next program if the see how we can write the code Java what is the code python what is the code so that is really python is the beautiful programming language or not you can able to observe sir observe observe carefully in C language what's my requirement sir the sum of two in values I want to print okay well so here I'm taking as include okay STD i.h stdio.h next main method main method like some people may have the doubt sir

30:11 you didn't keep written type written type default return type is in sir if you are not writing return zero automatically is going to take care we are not requ to worry main sir in that I'm declaring in a comma B how many how many variables I declare two variable both variables are what type in type int values right now a isal 10 B is equal 20 what is that sir can you please tell a equal 10 B is equal 20 like now print F print F the sum the sum is percentage D comma the Su percentage D comma a plus B

30:58 I have to take some a plus b like I have to take end of the main method getting right this is the code we have to write if you want to print the sum of two numbers A and B first we have to declare variables and then assign some values and then try to print sir simple program only if the Java for the same requirement how we can write the code requirement is the same how you can write the code sir very simple if the Java based have a look once sir class test of course public class test class test Public public static public static vo main method public static void main

31:45 string array a string array a I have to declare two variables A and B in a comma B I have to declare two variables A and B into a comma B next a is equal to 10 B is equal to 20 okay just I declared AAL 10 b equal 20 now system do out. println system. out. println okay the sum the sum is plus because print Ln is always going to take only one argument okay the sum is A + B like this I'm taking end of this end of this one do you know how

32:31 many lines of the code we wrote multiple lines of the code sir so we have to declare and we have to initialize and then we are going to take the print sum let me execute this code matter of one minute right observe carefully I hope already the skeleton is there with me sir public class here I'm just declaring two variables A and B a equal to 10 B is equal to 20 next here the sum are you getting here the sum the sum is the sum is plus a + b I'm taking some that's all this is about my requirement let me compile this code I hope this is the Java code sir to print the sum of two numbers this is the Java code let me compile this code yes friends Java C

33:16 test. Java and then Java test what the answer we are going to get the some 30 30 is the answer we are getting sir okay well this is the Java code what we have to right to print the sum of two numbers how much code we have to write compulsory the person should aware what is class what is main method and then what is the system. out. print L and like all these things must be required but if it is our python our hero is coming sir if is the python okay python can you please spell out how many lines of the code I have to write very carefully sir here have you observed what is the first line we wrote in a comma B and then AAL 10 B 20 declare

34:02 here in Python I'm taking a is = 10 B is equal 20 a equal 10 B is equal 20 print a print of the sum print of the sum A + B I'm taking that AAL 10 Bal 20 print of the sum a plus b like this I'm taking that's all we are not required to write oh big code just only two or three lines of the code is more enough let me execute this one have a look once here see this see this one here I'm taking a is equal to 10 B is equal to 20 print a print of the sum print of the sum a plus

34:47 b are you getting print of the sum a plus b let me run this code sir let me run this code py test. py are you getting py tex. py can I get the same output or not yes so this is the same same output right okay so how many lines of the code we require to write only two two or three lines right so even I can combine these two lines into a single line also are you getting even we can combine these two lines in a single line also what is that sir a a comma B is equal to observe carefully a comma B is equal to 10 comma 20 no no other language is going to accept this type of syntax like C C++ or Java T comma Bal

35:33 10A 20 so this 10 will become value of a 20 will become value of B okay like let me do this here observe carefully instead of a b a comma B is equal to 10A 20 10A 20 that's all the sum A + B have a look once the some 30 you people may feel Sor showing old output only again let me change something 100 comma 200 a value 100 B value 200 the sum a plus b means 300 is the answer we are going to get sir are you are you seeing right so this is the biggest advantage of Python Programming sir how beautiful it is with very less code we can do n number of

36:18 activities that's what what you people should aware what is the what is the python so to Learn Python what prerequisite is there is nothing sir you should be in the position to read English statements that's all it's not like a program it is something like reading English statements okay like English statements but not programming code okay well sir by seeing this code immediately some people may have the bigger doubt observe carefully sir in C language do you know you declare two variables A and B of what type man what type inter type we declare two variables of what type inter type here also we declare two variables of what

37:05 type inter type inter type in Java also we declared but here I didn't declare A and B A and B are what type we didn't declare so sir in Python is it not required to declare the type type concept is not applicable like you may ask very very simple type concept applicable in Python so int float these types are there in Python but but we are not required to declare type explicitly such a type of headache is not there so means whenever we are assigning some value based on your provided value automatically type will be considered remember this one sir automatically type

37:51 will be considered based on your runtime provided value such type of programming language is called dynamically typed programming language remember that sir so in Python we are not required to declare the type explicitely based on your provided value automatically type by default will be considered this type of programming language is called what dynamically typed programming language dynamically dynamically typed programming language can you please give an example which are dynamically typed programming languages yes best examples are python python JavaScript python JavaScript Etc multiple languages right so type declaration headache such type

38:39 of things are not there okay in Python but in Java compulsory each and every variable should be declared with the type without type you can't use any single variable also such type of programming languages are statically typed programming languages yes are you getting right what is this one statically typed programming languages best examples are C language C++ Java these things are statically typed programming languages so one more important Point sir okay type ad X also not there in Python any doubt so are you going to learn easy programming language or difficult programming language sir any prerequisite is required to Learn Python

39:25 nothing sir if you don't know anything well and good if you know something then it may be the problem are you getting so I don't I'm not having any programming knowledge can I learn python yes you are the best person to Learn Python man S I know Java can I learn python yes you can learn but every time you are going to compare python with Java then obviously you may get confusion that's why so don't worry at all so to Learn Python nothing no prerequisite is required easily you can learn that's why so do you know so for the B you're the first programming language if you want to learn better to go for what yes friends you're the best the first programming language for the beginner if you want to learn better to go for python that's why in our colleges first

40:12 C language next C++ Java like but that style got changed now first python after that any other language okay so easy programming language is the python in schools in India there are some schools are there cbsa Central syllabus 8th standard or 9th standard Python programming language is there in schools remember not in at least intermediate plus two also in the school itself the subject is there that much easy programming language you people are going to learn so be ready to give left and right to the python clear sir just now I told dynamically typed based on runtime value automatically type will be considered correct right sir can you please show

40:59 some idea we didn't get much clarity about this one can you please show some idea like you may ask very very simple sir do you know in in Java if you consider in just I'm taking a is equal to 10 observe very carefully sir in Java if I can take a equal to 10 immediately error error hey what is the type of a where you declared the type okay like immediately error we are going to again type compulsory we have to declare regarding otherwise errors but in Python a is equal to 10 so python virtual Mission never going to OB what is the type of a because so which value you

41:45 provided 10 10 10 So based on 10 automatically type will be considered so very the proof how you can tell that it is it is 10 it is the inter type how you can tell it the in type very simple sir print print type of a can you please print a type of a type of a now it is going to tell that inter type sir remember this one it's going to tell inter type let me show this one have a look once sir very very carefully observe that here here let me take a is equal to 10 print of print of type of a print of type of a now observe carefully sir what is the answer class inter Tye

42:31 it is what type inter type in type sir suppose instead of 10 if I can take 10.5 if I can take 10 10.5 10.5 means float type float type it is called float type next sir instead of 10.5 I'm taking true true like this right what is the type sir Bull type Boolean bullan true false means Bull type like type will be considered automatically based on our provided value clear for op right next one more Advantage I will tell sir what is that Advantage is in Java if I can take n equal 10 observe carefully n equal 10 now a is what type respond a is what type in type what the value 10 sir now after some lines a is equal to 10.5 I'm

43:20 taking sir in Java a equal 10.5 I'm taking Java compiler will get left and right hey it is inter type how you can send double value it is a inter type how you can send double value like a comp error so throughout its lifetime this a is always what type are inter type only okay but in Python do you know what is the type of a inter in the next line a is equal to 10.5 I can take next line only a is equal 10.5 now onward a is float type variable if you want you can print type of a type of a now you are going to get float types okay next after that immediately I'm taking a

44:07 equal to d a is equal to DGA it is the Stringer type are you getting now onwards a is ACC as DGA so throughout life a is always in type throughout life a is always flow type no such type of terminology whenever you are assigning different type of value automatically type will be changed as per requirement are you getting that's why same variable we can use with multiple types possible right okay let me show this this one so a is equal to 10 I'm taking sir a is equal 10 print type of a now it is inter type okay well now after that suddenly I'm taking AAL to 10.5 10.5 print of type of a so same a only so once this

44:55 line assign now onwards it will become float type now onwards it will become float type have you observed right now onwards a will become float type now a is equal to dur I'm taking sir print type of a print type of a now onward it will become string type are you getting Str Str Type S Str means what string type like this of course all these types I will explain in detail don't worry sir so this is more easiness more flexibility to the programmer not required to declare the type explicitly next based on our requirement you can use the same variable with different types also that possibility is there this nature is called dynamically typed programming language which is the more

45:42 flexible to the programmer clear right now I will explain sir why gudo van rosam selected the word python okay can you please anyone can you please guess why he selected the name python for his programming language okay you may select gudo language van language or Rome language like why he selected python H can you please spell out sir very very simple very very simple sir if you are fan of Sunny Leoni then

46:30 automatically for your bike you will keep the name as Sunny are you getting something like if you are the fan of okay just if if you are very much impressed you got impressed like anything so maybe you are fan of some hero in or hero so you are trying to use same names in your passwords in your user IDs it's very common common right the same way this gudo also very fan very much impressed with one fun show comedy show okay in Telugu we have jabas extra ja like full comedy shows are there in India coffee with Karan like there are some programs are there comedy comedy shows fun shows in the TV TV like

47:15 so there was one one fun show is there okay so the name is the complete the complete mon te the complete Monty pythons pythons Circus the complete Monty pythons Circus Circus okay so you know this is the comedy show which was broadcasted in BBC okay 1969 to 1974 okay guo very much very much impressed our Ros very much impressed with this show so it's a fun fun okay like a fun show from this he selected

48:02 the word python to our programming language remember this one so why the word python because of snake or because of an like no such type of reasons right why the word python got selected okay our our who developer Our Father father of python this person very much impressed with with this show fun show the complete Monti python circus okay which was broadcasted in the BBC 1969 to 1974 from this the name python came in the picture sir not only this one sir for any name there is some story is there sir if you consider Java Java so just only 2 minutes I won't take much

48:47 time Java why the name Java came in the picture do you know James gole who is the father of java sir why why the name Java came in the picture is very very simple sir do you know they used the word they developed some language programming language they require some name so what in the building just beside their window there are W trees are there sir trees are there beside the window then automatically these developers thought that James coing team thought that we can keep w w name for our programming language like they they decide woke as the name and went to the registration but whenever they approach registration woke this SW already

49:34 registered with some electronics company sorry we can't give this name then automatically they have to choose other name then usually so they will go they will very much fancy the James gole who is the father of java they are very much fancy about one coffee flavor tea coffee coffee flavor that coffee flavor name is Java are you getting that coffee flavor name is Java Java that's why they choose Java name for that programming language are you getting just based on the coffee flavor name they used that's why the name Java came in the picture next do you know somewhere you may hard about Hadoop Ado for the Hado what is the logo for Ado Hadoop Big Data man Big Data what is

50:21 the logo for Ado H logo logo for Ado is do you know something like yellow elephant with cap correct or not yellow elephant with cap if you want to observe that okay some people may not a so do you know Java logo Java here if you if you observe Java logo Java logo observe that so do you know this is this is the Java logo okay logo this is the this is the Java logo why because James coing team they always prefer Java flavor tea Java flavor coffee that's why they used this this word Java that's why logo if you if you consider if you if you consider why Coffee Cup logo in Java the reason you know right Hado uh what

51:06 is the what is the Hadoop logo if you consider Hadoop logo are you seeing right yellow yellow yellow elephant are you are you seeing yellow elephant elephant you can see sir yellow elephant sir who is the father of Ado with the father father of Hadoop sir just cutting some Nam sir yes cutting dog darkg cutting cutting is the name so you know why this yellow yellow color elephant came anyone can you please tell the reason very simple the reason for that is Siro means Big Data Big Data means elephant is the big animal that's why the name that's why the name Hado big big elephant that's why they selected elephant as the logo no no so they

51:52 discussing they discussing about logo which logo we have to keep and so on so this cutting and his team just they are analyzing which logo we have to keep like so whenever these people are thinking about that suddenly this s cutting is son is playing with a small yellow color elephant okay he's playing with a small yellow color elephant toy toy Okay small toy yellow color elephant toy is playing sir okay then immediately why don't you keep this name why don't you keep this one at the for ouro then automatically this person selected remember that by mistake if his kid is playing with red color snake maybe red color snake maybe logo sir okay please

52:39 make sure so there are some reasons are there internally why the names are coming so for python from where the name is coming sir the complete Monty the complete Monty Python circus from here the name came just if you want here just have a look once sir what is the what is the show name can you please spell out what the show name the complete the complete H the complete Monty Monty Python's Flying Circus okay the complete Monty Python's Flying Circus If You observe that these are various logos right remember this one these are various various so do you know these These are various images related to that observe that carefully these are various images it's a it's a simple fun show are

53:25 you getting this is the simple simple fun show fun show sir you can you can see it a simple fun show maybe uh sir in this are you seeing python friends are you seeing python python like pythons like so from here the name python came in the picture that's all this is the reason right okay well any doubt now I will explain very important special feature of the Python what is that is observe carefully if you consider C language if you consider C C programming language can you please tell

54:12 C is functional programming language what is this one sir can you please spell out C is functional programming language functional programming language is the CES if you consider C++ and Java C++ Java these are object oriented programming languages C++ and Java if you go for perel okay perel and shell script if you go for parel and shell script these languages are scripting languages are you getting scripting scripting languages right these are scripting languages if you go for if you go for modu okay like these are these

54:58 are scripting languages right see missing the benefits of object oriented because it a functional programming language next so if I can ask see see can you please provide support for in t polymorphism encapsulation like C person is going to tell what all these things I don't know nonsense I don't know like so because these person is not object oriented it is missing the benefits of object oriented programming if I can ask a C++ and Java C++ person okay Java person immediately yes I'm object oriented programming language so I can provide benefits of reusability inheritance code inheritance next polym encapsulation like all the things I can talk like har can you please talk about

55:44 functional programming like if I can ask these people sorry man I can't sorry man I can't but slowly Java slowly Lambda Expressions these functional now these days these people talk but they're not object functional programming languages next scripting languages these people just a group of lines one by one one by one we have to execute that's all like this right so every language having its own specific behavior so that that specific paradigma benefits only they are going to get so what you about python is it functional programming or is it objectoriented programming or is it a scripting language like you may have the doubt okay so very simple while developing while developing python while developing

56:32 python okay how the Python language while developing python gudo borrowed functional programming features functional programming features okay functional programming features from C language from C language he borrowed functional programming features from C language that's why so python is a functional programming language okay well so next he borrowed objectoriented programming language features object oriented programming language programming language features from uh can you please tell while developing python whoops features whoop whoop objectoriented

57:19 features are borrowed from which programming language respond man huh object oriented programming features are borrowed from which language okay don't tell Java because at the time of developing python Java was not there remember so borrowed from C++ okay that's why python is object oriented programming language next he borrowed scripting language features scripting scripting language scripting language features from from paral from parel and shell script from parel and shell script that's why python is a scripting language remember so next he

58:07 borrowed modular programming modular programming features sir you are not required to worry about this one it's almost we are not using anywhere sir modular programming features features from modular programming features from okay modular 3 modular 3 okay these days almost outdated no one is using don't worry sir so he borrowed modular programming features right sir now can you please tell either python either functional programming functional programming language are object oriented programming language or scripting language or modular programming language but the answer you have to tell sir python is allrounder are you getting

58:52 best word python is what yeah please read python is what allrounder python is everything sir it is a functional programming language objectoriented programming language next scripting language Python X as modular programming language also okay python is allrounder python can enjoy benefits of all these programming paradigms okay like so now theoretically okay can you please show at least or 3 minutes so basic idea say what it means right so anyway this one is completely outdated don't worry remaining three things so what is scripting language what is the what is the scripting scripting language right scripting language means a group

59:39 of lines will be there a group of lines will be there this group of lines will be executed one by one one by one no functions concept no classes concept just see a group of lines one by one one by one is going to execute is nothing but scripting language right now have a look once I'm I'm taking I'm taking here just print print python python y scripting language python yes scripting scripting language like this right I took this one I took this one so do you know just a group of statements I'm taking so almost six statements I'm taking like if I execute this first statement second statement third statement like all these statements will execute one by one one by one no functions concept no class concept No

1:00:26 Object concept happily it is going to run sir have you have you observed right now this is have a look once sir py test. py yes python is scripting language scripting language like happily it's going to run sir okay well now my next requirement is sir I want to use Python yes yes sir like functional programming very simple Define your function define define your function and write whatever the code you want and call that function based on your requirement this is the C language approach C language approach right how you can do in Python okay very simple observe carefully sir here I'm taking DF F1 I'm writing a function sir print of

1:01:14 python as a functional programming language functional python yes functional programming functional programming language like this I'm taking s okay let me write a function here I write a function of course this function contain four lines of the code now you can call this function based on your requirement any number of times okay sir I want to call this function fub1 fub1 now let me execute this code so observe this is called declaring a function and this is called calling a function okay now I want to call this function observe carefully sir yes python yes functional programming language yes functional programming language like this it's going to work

1:02:00 sir okay well sir now I want to use Python yes object oriented programming language like C++ or Java so you can write a class within the class you can define a method create an object and then you can call the methods related to that class okay object oriented programming how you can observe carefully here I'm taking I'm taking a class test I'm taking a class test DF M1 of self DF M1 of self print of print of python yes object oriented programming language object oriented programming language like this I'm taking sir object

1:02:45 oriented programming language like this sir like like I have now create an object T is equal to test sir T do M1 can you please create an object T do M1 like so that's all so I'm defining a class I'm defining a class within the class I'm writing a method next I'm creating an object for that class and then I'm calling t. M1 means that method right okay like so immediately you may have several doubts sir what is self sir what is the depth sir what is the class like all these things I will explain in detail don't ask these doubts now just for basic idea purpose I'm explaining all these things we will discuss in detail next sessions don't worry sir just get some idea that's it okay now let me execute this code let me execute this code python yes

1:03:33 object oriented python is object oriented programming language like so now in the intro room maybe a chance to ask the question what is python is it functional programming language or object oriented programming or modular or scripting language like simple answer you have to tell python is respond man python is allrounder are you getting python is allrounder Python X yes so every programming language paradigma python is a functional programming language python is object oriented programming language python is scripting language python is modular programming language remember this one sir next most of the syntax used in

1:04:20 Python are borrowed from most of the syntax used in Python borrowed from C language and ABC language Okay C language and ABC language so 1989 terminology this language but these days people already forgot C and ABC languages from these languages most of the syntax borrowed in Python clear for right so what is python next which is syntax what about programming paradigms clear

1:05:06 sir where we can use a python okay I told already python is the general purpose programming language in every application area happily you can use Python sir sir now we can use Python to develop desktop applications are you getting to develop desktop desktop applications right then immediately you ask sir what is the desktop application the applications which are running in a single system Standalone application which are running in a single system are called what desktop applications right best example calculator is there if You observe that calculator calculator is there sir so this calculator s to work this calculator program can run on a

1:05:53 single system or not yes 10 plus 20 10 + 20 itself 30 we are getting so here to execute to run calculator how many systems are required only one such type of applications happily we can develop by using python sir do you know develop calculator by using python is a small mini project small application right okay well so next we can develop web applications right okay we can develop web web applications best examples are we can develop web applications like Gmail Gmail application blog application online e-commerce applications like so like Amazon flip cart next and after that like blog applications we can gmail

1:06:38 application Facebook like so we can happily develop web applications by using python there are multiple specially designed Frameworks are there to develop web applications like Jango flask pyramid okay like multiple multiple Frameworks are available right okay next uh even Network applications also python networking it's a very hot area sir Network applications also we can develop Network applications also we can develop by using python sir okay like chatting applications chatting applications client server applications right we can do that next do you know so we can develop games also there are several modules are available games

1:07:23 games development happily we can use Python programming language next uh for data analysis applications data analysis applications right next mission learning applications Mission learning applications deep learning applications neural networks artificial intelligence iot applications like everywhere happily we can use Python programming language so that's why it is a general purpose programming language clear for of right so where we can use Python so desktop applications we can develop web applications we can develop Network applications games development data analysis okay data science iot artificial intelligence like in all

1:08:08 these areas happily you can learn okay this happily you can use Python so do you know in Amir somewhere in in our regular courses data science course is there data science through python data science through our language are you getting by our language by python python is the best choice for data science applications also that's why you should aware Once You Learn Python yes everywhere Next Level yes happily a number of opportunities by default will be there for you you can enter into multiple domains okay like next which software companies are using python okay which which companies are using python sir sir python used by Google sir Google using python next Yahoo using python

1:08:55 okay Yahoo Facebook using python Facebook Facebook using python next NASA NASA using python sir NASA NASA itself next do you know NASA itself is using next Dropbox Dropbox using using python Netflix okay like multiple companies are using python okay so if you want just have a look once I'm just searching in the Google I want to just search search in the Google saying uh talk top companies using python okay top top companies using python okay like like just I'm clicking this one just searching for this now observe that now observe okay here eight world class

1:09:40 software companies using the python eight world class software companies that use Python have you observed just have a look once industrial Light and Magic Google Facebook Instagram Spotify qu Netflix Dropbox like a drop box like like they are using sir If You observe images like just I'm clicking images right so in the in the images you can you can see here have a look once have a have a look once here if you if you are seeing this one just uh do you know YouTube the popular YouTube video sharing system is largely written in Python next Google makes extensive use of python in its web search system web search algorithms are there there python python is going to to play the role next

1:10:26 Dropbox storage service quotes both its server and client software primarily in Python okay drawbox client and server both are developed by using python okay here Raspberry Pi the Raspberry Pi single board computer promote python as its educational language remember next s bit torent bit torrent peerto peer okay file sharing system began its light as a Python program began its life as a Python program remember Nasa uses python for specific programming task NASA next and after that the NSA uses python for cryptography and intelligence analysis okay just do you know Security National Security Agency right so next Netflix and elf like so every every company

1:11:14 itself is using using python sir next if you go for another another thing sir do you know sir can you please have a have a look once about these these things right Almost Do you know almost around 20 to 30 companies are covered in this slide top companies using python okay Amazon Amazon obber IBM IBM like so almost all the companies Red Hat Yahoo Mozilla okay send grid like Udi like there are multiple multiple companies are using python sir please make make sure you people should aware that's why so believe python definitely python is going to provide food for human okay definitely python is going to provide good good career for you people right okay that's

1:12:11 all hi friends in the last videos we covered very clearly the basic introduction to python what are various application areas when compared with other languages what the advantage of python like we covered right so now the next thing what I have to discuss what are various specific features are there for the python okay python features we have to discuss about python python features right so do you know Java person is going to come he's going to dance in front of you okay can you please spell out what is the speciality of your python when compared with Java C programmer is coming so he's going to dance in front of us when compared with the c what speciality you have like we should be in a position to give left and

1:12:57 right to Java person to C person so what extra features are there what specialities are there for the python compulsory you people should have clear Clarity sir sir now some important features just I list out we are going to perform postmortem about these features right okay have a look once sir what is the first one simple and easy to learn simple and easy to learn first one next free wear and open source it is the freear and open source next high level programming language it is a high level high level programming language platform independent platform independent next portable portability next dynamically

1:13:44 typed yes this is a bit very important sir even you have some basic idea about this one dynamically typed next both procedure oriented and object oriented sir it is also a big speciality for our python both it is allrounder both procedure oriented and object oriented right next it is interpreted next extensible embedded extensive Library are you getting extensive Library it is also a big specialty for the python are you getting so these are 11 features whatever I listed so that we have to perform discussion we have to perform postmortem about these things right are able to understand right what is the first one simple and easy to learn second one free it is the open source

1:14:30 high level programming language next flatform independent portability dynamically typed both procedure oriented and object oriented interpreted extensible embedded and extensive Library these are various important features of python sir okay now let me talk about the first one sir now the first first feature related to python it is a simple and easy to learn simple and easy to learn programming language is a python so very simple if you want to learn any language whether it is General speaking language or programming language first we have to

1:15:16 aware Words which words are there in that language like suppose if you consider English language English General speaking language right how how many words are there in English I'm not talking about alphabet symbols alphabet symbols 26 but how many words are there okay do you know cres crores of words are available sir cres crores of words are there words are there in English so do you know if you if you consider dictionary almost this size dictionary also will be there o for dictionary this size dictionary also will be there so each page in that dictionary contain thousands of words so if you want to learn English very perfectly compuls you have to aware all these words remember that but if you consider Java

1:16:01 programming language okay I want to learn Java programming language how many words how many words are there just 53 words you have to aware sir remember that so when compared with English learning English language Java language is very simple but if you consider Python programming language Python language just we have to aware only 33 words 33 reserved words the person who can understand these are 33 reserved words then automatically the expert in the python are you getting so it is a very small CH programming language is the python very easy to learn easy to learn simple programming language right next if you consider sir Java code code

1:16:49 also not only res right code code also if you consider Java code if you consider python code there's a big difference is there python code is something like reading English statements remember this one sir python code is something like reading reading English statements best example sir if you if you observe ternary operator is there in Java sir have a look once suppose X is equal to X is equal to here I'm taking 10 greater than 20 10 greater than 20 colon question mark 30 like this I have now observe very carefully sir so 10 greater than 20 question mark 30 col 40 if I if I ask any person can you

1:17:37 please observe this line what this line is doing if I can ask out of 100 99% of the people are going to fail yes they don't know about the meaning of the syntax unless and until if they know Java okay the people who know Java they can they can tell oh this is Bob ter operator this is the condition if it is the true 30 is the value if it the false then 40 is the value like do you know if I show this code compulsory Java expert only can able to understand this line correct right okay like but if I the same thing in Python how I can write the same thing in Python how I can write observe carefully sir X is equal to x equal to 30 sir 30 a 10 greater than 20

1:18:25 30 if 10 greater than 20 else else 40

…

Share

More video summaries