1
00:00:00,720 --> 00:00:00,900
Hello.

2
00:00:01,050 --> 00:00:01,800
Welcome back.

3
00:00:01,800 --> 00:00:04,420
So let's try out some Python code.

4
00:00:04,500 --> 00:00:12,220
So rather than always code to My Documents and Python 3 7 folder to launch python I can launch it for

5
00:00:12,220 --> 00:00:19,340
my start my starts promises as well I can just come over here and type python and I could click here

6
00:00:19,350 --> 00:00:24,210
to open by clicking here like this and I've caught Python here and then I could just show you.

7
00:00:24,230 --> 00:00:30,120
It's the same python by clicking high by type and high like this.

8
00:00:30,120 --> 00:00:32,740
I made a typo by type in print.

9
00:00:33,840 --> 00:00:36,640
High like this.

10
00:00:36,780 --> 00:00:37,470
And we've got high.

11
00:00:37,500 --> 00:00:44,510
So it's the same python but Python comes with an interactive editor which is known as the ideal.

12
00:00:44,580 --> 00:00:48,060
When we scored it when we started Python it came with this.

13
00:00:48,060 --> 00:00:52,470
So in the same way I can just come here and take a d l e I do.

14
00:00:52,710 --> 00:00:55,670
And we're going to be right in most of our modules using I do.

15
00:00:55,680 --> 00:01:00,100
So let's open I do by clicking it like this we've got I do here.

16
00:01:00,120 --> 00:01:02,470
So this one is much more user friendly.

17
00:01:02,490 --> 00:01:09,770
It looks like something that you know is more mordant so we can try our same example here and say print.

18
00:01:10,460 --> 00:01:17,260
And over here we can still say hello python and hit enter.

19
00:01:17,290 --> 00:01:18,830
So this is for quick test.

20
00:01:18,850 --> 00:01:24,130
Just like the command window in MATLAB we can just do simple computations here.

21
00:01:24,190 --> 00:01:29,990
So I could type two plus two as well and three minus five and.

22
00:01:30,060 --> 00:01:31,030
Yeah.

23
00:01:31,300 --> 00:01:39,550
So as for quick stuff but how do we create project or create applications and save them and import them

24
00:01:39,550 --> 00:01:41,440
and do other things to do that.

25
00:01:41,500 --> 00:01:49,750
We can come over here file and then create new and then over here we can create a new one I could just

26
00:01:49,750 --> 00:01:57,510
create this one I could create this python script and the script or this script to do is print Tello

27
00:01:57,650 --> 00:01:58,610
from a script

28
00:02:01,540 --> 00:02:11,380
like this so then to run this all I have to do is click on run I'll click Run module like this and then

29
00:02:11,380 --> 00:02:14,660
it would tell me to save it source must be saved.

30
00:02:14,920 --> 00:02:17,070
OK to save so I click on OK.

31
00:02:17,080 --> 00:02:22,100
And then of course I've got to save it so I can come here and give it a name.

32
00:02:22,300 --> 00:02:25,510
I can save this as let's call this test 0.

33
00:02:25,590 --> 00:02:29,710
I just call this let's call it 0 on the score.

34
00:02:29,710 --> 00:02:31,450
Hello.

35
00:02:31,570 --> 00:02:36,820
Like this enough you can see when we run the resort up here.

36
00:02:36,830 --> 00:02:38,200
Here Helu from script.

37
00:02:38,310 --> 00:02:44,710
So this how we shall be saving our project into various script files and bringing it all together.

38
00:02:44,740 --> 00:02:47,730
Import and export and exit terror.

39
00:02:47,910 --> 00:02:52,560
So yes this order is for this very quick lesson and I shall see you in the next lesson.
