filmov
tv
#1 Python Playground: Computer Programming and Coding for Kids and Beginners
Показать описание
Lesson 1
What is Python?
Scene1
Emma
Hi, Daniel. I want to be an engineer, a modern-day wizard. Because an engineer is free to create whatever I want.
Daniel
Hi, Emma. Hmm, you knew that very well.
Emma
I'm going to make an artificial intelligence with my laptop. I'm sure it's cool!
Daniel
Cool?
Emma
Of course it's cool. I've figured out that I can make it with a python, but I don't know much more than that.
First of all, I don't really know what a python is, and I have no idea what to do with it. What should I do?
Daniel
So, you came to me. Are you sure you want to do this?
Emma
Yes, I'm sure I want to do it.
Scene2
Daniel
What is Python?
Python is a programming language that was created more than 20 years ago.
It was created by Guido van Rossum in the Netherlands.
Surprisingly, Python has a long history, but its popularity is growing rapidly these days.
This is because it is often used for research in artificial intelligence and big data analysis.
It's also used by big companies like Google, YouTube, and Pixar, and web services like lnstagram, Pinterest, and Dropbox are also built in Python.
So Python is a familiar programming language.
Emma
Oh, I use those apps as well.
Scene3
Daniel
Three Features of Python
There are three features of Python.
The first feature is a simple program.
The feature of Python is to write the program using indentation.
Indentation refers to the spaces at the beginning of a code line.
Where in other programming languages the indentation in code is for readability only, the indentation in Python is very important.
Python uses indentation to indicate a block of code.
The indentation makes the program easy to read for anyone to write.
Emma
Python is a simple program to read for anyone.
Daniel
That’s right.
The second features is a wide variety of libraries.
Python comes with a powerful standard library, so you can do a lot of things with just Python.
That's why Python is also known as batteries included.
In addition, there are a lot of external libraries, such as libraries for high-speed numerical computation, image processing, and machine learning, which are often used for artificial intelligence.
Emma
Python has a wide wide variety of libraries for a variety of applications.
Daniel
That’s right.
The third feature is easy trial and error.
Python is an interpreted language that you can write a program and run it immediately.
The language is easy to try and error, so it's also suitable for beginners.
On the other hand, C and Java are called compiled languages.
Compiled languages are converted directly into machine code that the processor can execute. As a result, they tend to be faster and more efficient to execute than interpreted languages.
Emma
Python is an interpreted language, so it's easy to trial and error.
Scene4
Emma
By the way, why is it called “Python”?
Daniel
The father of Python – Guido Van Rossum said the name of the language was taken from the British comedy series “Monty Python’s Flying Circus” and Guido Van Rossum was a big fan of the film.
Emma
Oh! That's why it's called Python.
Daniel
It was a comedy show, but it was satirical and intelligent.
Emma
He was such an amazing guy who made a programming language, but he loved comedy so much!
I felt so close to him.
In this lesson, we learn about Python, a programming language.
Daniel
Well done, Emma!
What is Python?
Scene1
Emma
Hi, Daniel. I want to be an engineer, a modern-day wizard. Because an engineer is free to create whatever I want.
Daniel
Hi, Emma. Hmm, you knew that very well.
Emma
I'm going to make an artificial intelligence with my laptop. I'm sure it's cool!
Daniel
Cool?
Emma
Of course it's cool. I've figured out that I can make it with a python, but I don't know much more than that.
First of all, I don't really know what a python is, and I have no idea what to do with it. What should I do?
Daniel
So, you came to me. Are you sure you want to do this?
Emma
Yes, I'm sure I want to do it.
Scene2
Daniel
What is Python?
Python is a programming language that was created more than 20 years ago.
It was created by Guido van Rossum in the Netherlands.
Surprisingly, Python has a long history, but its popularity is growing rapidly these days.
This is because it is often used for research in artificial intelligence and big data analysis.
It's also used by big companies like Google, YouTube, and Pixar, and web services like lnstagram, Pinterest, and Dropbox are also built in Python.
So Python is a familiar programming language.
Emma
Oh, I use those apps as well.
Scene3
Daniel
Three Features of Python
There are three features of Python.
The first feature is a simple program.
The feature of Python is to write the program using indentation.
Indentation refers to the spaces at the beginning of a code line.
Where in other programming languages the indentation in code is for readability only, the indentation in Python is very important.
Python uses indentation to indicate a block of code.
The indentation makes the program easy to read for anyone to write.
Emma
Python is a simple program to read for anyone.
Daniel
That’s right.
The second features is a wide variety of libraries.
Python comes with a powerful standard library, so you can do a lot of things with just Python.
That's why Python is also known as batteries included.
In addition, there are a lot of external libraries, such as libraries for high-speed numerical computation, image processing, and machine learning, which are often used for artificial intelligence.
Emma
Python has a wide wide variety of libraries for a variety of applications.
Daniel
That’s right.
The third feature is easy trial and error.
Python is an interpreted language that you can write a program and run it immediately.
The language is easy to try and error, so it's also suitable for beginners.
On the other hand, C and Java are called compiled languages.
Compiled languages are converted directly into machine code that the processor can execute. As a result, they tend to be faster and more efficient to execute than interpreted languages.
Emma
Python is an interpreted language, so it's easy to trial and error.
Scene4
Emma
By the way, why is it called “Python”?
Daniel
The father of Python – Guido Van Rossum said the name of the language was taken from the British comedy series “Monty Python’s Flying Circus” and Guido Van Rossum was a big fan of the film.
Emma
Oh! That's why it's called Python.
Daniel
It was a comedy show, but it was satirical and intelligent.
Emma
He was such an amazing guy who made a programming language, but he loved comedy so much!
I felt so close to him.
In this lesson, we learn about Python, a programming language.
Daniel
Well done, Emma!