Skip to playerSkip to main content
  • 8 months ago
Python is a versatile, high-level, general-purpose programming language known for its readability and ease of use. It's used in a wide range of applications, including web development, data science, machine learning, and software development. Python is interpreted, object-oriented, and has dynamic semantics, making it suitable for rapid application development and scripting.
Transcript
00:00hello guys good more name
00:06so our last lecture was in python interpreter
00:12if you expect us straight away download and install
00:18then we skip this step
00:20the reason is that
00:22we have a lot of students who have a request
00:26and have a request
00:28so we will skip this step
00:30and we will directly
00:32pre-installed set up
00:34so we will directly start
00:36and we will be comfortable
00:38then we will be able to install
00:40this setup
00:42which we will finally learn
00:44so now
00:46online services
00:48we have chosen
00:50dot io
00:52dot io
00:54if you have opened
00:56then you will see
00:58options
01:00and if you will see this option
01:02here is python
01:04this is different programming options
01:06when you click on this
01:10programming interface
01:12which you will see
01:14code
01:16so you will skip that
01:18and you will see
01:20error
01:22so we will click on this
01:24and we will open our python
01:26set up
01:28click
01:30two boxes
01:32one box
01:34print hello world
01:36and the other
01:37stdn
01:38ok
01:39now
01:40you will see
01:41basically
01:42three things
01:44you will see
01:46you will see
01:48main dot py
01:50jis file
01:52extension
01:54dot py
01:55python file
01:56jis
01:58python file
02:00dot py file
02:02dot py file
02:04dot py file
02:05dot py
02:06dot py
02:08dot py
02:09dot py
02:10dot py file
02:12dot py
02:14on app
02:16dot py
02:18dotージ
02:20dot ty
02:21dot
02:22dot it
02:24dot
02:29dot
02:30dot
02:32dot
02:34dot
02:36dot
02:38dot
02:40interpreter is code to give interpreter and interpreter is read and convert to machine language.
02:47Then the result will be in the box where STDN is listed.
02:54This box will be displayed in the box.
02:59By the way, STDN means Standard Input.
03:03This is our course of curriculum.
03:10Standard In, Standard Out.
03:12Anyway, we will say that this is the output box.
03:16Okay.
03:18Now, we have to go back to the first code.
03:24By the way, if you change the layout,
03:28let's say GitHub,
03:31let's say,
03:34set up change.
03:36First code.
03:37I will say hello world.
03:39Hello.
03:41Mohsen.
03:42This result is returned.
03:47Here is standard out.
03:49This output will show you.
03:52Good.
03:53So, you can see that we have this procedure follow.
03:56I have human readable code in this file.
03:58I have this file.
03:59I have this file.
04:00I have this interpreter.
04:01I have this interpreter.
04:02I have this interpreter.
04:03I have this machine.
04:04Now, the machine has the output result returned.
04:08Here is the result.
04:10Hello Mohsen.
04:11Hello Mohsen.
04:13This is written.
04:14Okay.
04:15Okay.
04:16This is the flow of information.
04:18So, let's see.
04:19Let's see.
04:20Let's see.
04:22Now, you can see here.
04:25You can see two colors.
04:27One is red color.
04:29The other is black color.
04:31This is syntactical difference.
04:34Syntactical difference.
04:36This is a built-in function.
04:39This is a type of element.
04:43This is a type of element.
04:45This is a type of code.
04:47This is a interpreter.
04:49It is a type of element.
04:52Print,
04:53This is a simple skeleton type.
04:55Visit c.ts
05:09Um...
05:10print,
05:11Print, okay, and this time we can add single braces, double and single.
05:21This is so cool that I wrote my code, okay, very good.
05:29Now we execute this, run, this is cool, I wrote my first code, very good.
05:34This is a greeting message, not very exciting, but very very small.
05:43This is our first code, this is our first code.
05:47We can use print, and print, and here we basically put plus,
06:02I put two strings to join, and here we put motion, execute, hello motion, wow, this is cool.
06:11So, I have two strings to join.
06:13Basically, we can save this string in memory box.
06:18We can save this memory box, like shoebox, like tiffen lunchbox,
06:22lunchbox inside lunchbox,
06:24we can save this string in memory box.
06:31Name is equal to,
06:35you can save this name, please, this memory box.
06:41And besides this name,
06:44you can save this memory box.
06:47Now you can save this memory box.
06:50Interpreter,
06:52you can save this character.
06:54Run, the result is the same.
06:56Very good, very good, excellent, excellent.
06:59However,
07:00if you have a code,
07:02flexible,
07:03now I will change the name,
07:05John,
07:06run,
07:07hello John,
07:08Sally,
07:10run,
07:11hello Sally,
07:13very good.
07:14Very good.
07:15This is our very interesting code.
07:16Now, again,
07:18we have to go back.
07:19This is the file,
07:21which is on our code.
07:23This is our interpreter area,
07:26which is human readable code.
07:28It is easy to read.
07:29Name is equal to,
07:30hello Sally,
07:31and this is the file.
07:32This is the green signal.
07:34We say,
07:35interpreter,
07:36you can change the machine
07:37and execute it.
07:38So,
07:39he will change the machine
07:40and execute it.
07:41Excellent.
07:42So,
07:44we will do this lecture.
07:45Close.
07:46See you in the end.
Be the first to comment
Add your comment

Recommended