1
00:00:06,770 --> 00:00:08,930
Hello and welcome to.

2
00:00:10,300 --> 00:00:20,580
I am Jew, I was I am a Jew, I do I stands for graphical user interface in simple terms.

3
00:00:20,980 --> 00:00:31,660
This is what you see on the screen when you and Microsoft Excel or Wall or pie chart Python is scripting

4
00:00:31,660 --> 00:00:37,090
language, so it's normally excluded from the command line.

5
00:00:37,660 --> 00:00:41,930
And to interact with Python script, you use command line.

6
00:00:42,490 --> 00:00:44,950
Well, this is going to change today.

7
00:00:45,310 --> 00:00:49,020
Python have multiple libraries for constructing July.

8
00:00:49,480 --> 00:00:59,970
We will use a new library called by in J.Y. Although it's new, it will allow us to create professional

9
00:01:00,430 --> 00:01:07,210
joy in a matter of minutes and with much lesser code than the other libraries.

10
00:01:07,660 --> 00:01:18,430
The code on the screen will create a window containing a text and an input and an OK, but it will create

11
00:01:18,430 --> 00:01:26,440
this window and then it will wait for an event to happen, will use the read method that will return

12
00:01:26,740 --> 00:01:34,870
an event and event and event is, for example, clicking Dalkey button or clicking the button.

13
00:01:35,320 --> 00:01:39,680
And the value is, for example, the value inside the input.

14
00:01:39,730 --> 00:01:43,520
But but how is this layout construct?

15
00:01:43,930 --> 00:01:51,220
Simply the window that will appear is shown on the screen and the layout is a list of lists.

16
00:01:51,640 --> 00:01:55,710
So a list construct are all in the window.

17
00:01:56,050 --> 00:02:03,040
So the text label appears first then then then the bottom right.

18
00:02:03,280 --> 00:02:09,940
With those five lines of code, we construct a fully functional GeoEye.

19
00:02:11,640 --> 00:02:21,960
There are two main types of windows that we can use our own shop window and a position when the window

20
00:02:21,960 --> 00:02:31,020
is used to read one time value from the user, for example, the slogan should read one time from the

21
00:02:31,020 --> 00:02:38,060
user to allow him to log into the system or, for example, entering a file name to be open.

22
00:02:39,120 --> 00:02:46,680
The persistent window and other hand, will be displayed until the program ends, which means that it

23
00:02:46,680 --> 00:02:54,690
is inside ELU that periodically read the window to get its advance envelope with the reading.

24
00:02:54,690 --> 00:02:58,300
Math and reading happens inside the.

25
00:02:58,950 --> 00:03:06,510
You may have noticed the time out parameter in it sometimes when the application is doing something

26
00:03:06,750 --> 00:03:07,690
that takes time.

27
00:03:08,070 --> 00:03:13,720
The window may not respond to other action and may even seems to hang.

28
00:03:14,130 --> 00:03:18,320
Surely you have seen this in Windows, Linux and MapQuest.

29
00:03:18,720 --> 00:03:26,790
When the program is busy executing something and you click on the application, it has well to resolve

30
00:03:26,790 --> 00:03:28,430
this we use time.

31
00:03:28,770 --> 00:03:34,380
So the July is number one and the time out is in Mellissa.

32
00:03:34,560 --> 00:03:41,470
You may have find some by simple GeoEye programs that set the time and value to zero.

33
00:03:41,670 --> 00:03:42,940
This is very dangerous.

34
00:03:43,230 --> 00:03:52,520
Your program will consume 100 percent of the CPU it's recommended you do not use by less than then,

35
00:03:52,530 --> 00:03:52,900
Melyssa.

36
00:03:54,220 --> 00:03:58,450
Now, that method will allow you to update the value of an element.

37
00:04:00,280 --> 00:04:08,740
To create a menu, you specify the menu in much the same way as the Winnaleah, for example, the file

38
00:04:09,100 --> 00:04:16,420
menu contains a list of the file options menu, contains a list of those options, etc..

39
00:04:16,630 --> 00:04:16,960
OK.

40
00:04:17,870 --> 00:04:24,110
So let's fire by trying to begin exploring why some mildewy.

41
00:04:26,990 --> 00:04:32,870
When you try to run I in July on Lennix.

42
00:04:34,040 --> 00:04:40,980
You may receive an error message because AT&amp;T is not an is.

43
00:04:42,380 --> 00:04:44,540
And this is Amodio required by.

44
00:04:45,330 --> 00:04:49,980
By simple joy, in order to show I have created.

45
00:04:53,260 --> 00:04:56,560
And let's in his tool, I think, do I?

46
00:04:58,350 --> 00:05:00,630
And check how it will all.

47
00:05:02,000 --> 00:05:06,770
First, let's install by Sempill Joy.

48
00:05:09,730 --> 00:05:11,110
Then let's play.

49
00:05:18,800 --> 00:05:22,610
Ileum bought by Sempill GeoEye as S.G..

50
00:05:27,970 --> 00:05:31,860
Then let's use as little Bob.

51
00:05:34,160 --> 00:05:44,660
And let's execute the script and displayed an error message saying no module name began doing this tool

52
00:05:44,820 --> 00:05:45,590
decanted.

53
00:05:46,710 --> 00:05:48,840
Ingenix will use.

54
00:05:49,940 --> 00:05:51,770
Zuda, Apte.

55
00:05:52,630 --> 00:05:56,280
In his tool, Python three t.K.

56
00:06:00,170 --> 00:06:02,720
And this willingness to decanted.

57
00:06:08,890 --> 00:06:12,850
Now, let's rerun our script and.
