WEBVTT

0
00:00.180 --> 00:04.950
Hey guys, welcome to day 28 of 100 Days of Code. Today

1
00:04.950 --> 00:09.000
we're going to be building a Pomodora app completely from scratch

2
00:09.240 --> 00:13.530
using tkinter and the knowledge that we gained from yesterday's lessons.

3
00:14.190 --> 00:17.220
Now you've already heard me talk about the Pomodoro technique,

4
00:17.280 --> 00:19.860
this famous book by Francesco Cirillo,

5
00:20.570 --> 00:25.570
Cirillo. This

6
00:29.060 --> 00:34.060
famous technique that helps people time-manage and to get more stuff done.

7
00:35.480 --> 00:37.250
Now, if you didn't hear me talk about it,

8
00:37.280 --> 00:40.700
this is basically a very simple breakdown. Essentially,

9
00:40.700 --> 00:43.390
you figure out the task that you need to do something hard,

10
00:43.400 --> 00:48.320
something that takes a while like writing your next book or coding up a project.

11
00:48.890 --> 00:52.970
And then you want to set your timer to the 25 minutes and then work on the task

12
00:53.000 --> 00:57.950
for 25 minutes. And then after that, you take a short five-minute break.

13
00:58.280 --> 01:03.080
And after you've done four of these Pomodoros, basically four repetition,

14
01:03.140 --> 01:06.500
then you get to take a 15 to 30 minute break.

15
01:07.310 --> 01:12.110
So this basically really effectively utilizes the way that our brain works to

16
01:12.320 --> 01:17.320
take short breaks often and to work for 25 minutes at a time,

17
01:17.990 --> 01:22.970
which helps us with information retention and also keeping up the motivation.

18
01:23.660 --> 01:28.660
This is the program that we're going to be building using tkinter. It's going to

19
01:28.760 --> 01:32.930
be a timer with a tomato on it. And when you click start,

20
01:33.020 --> 01:36.170
it's going to tell you to work for 25 minutes.

21
01:36.830 --> 01:39.080
Then that window can go into the background

22
01:39.410 --> 01:43.520
and while you're writing your code or doing whatever, when the timer's up,

23
01:43.580 --> 01:48.230
it will pop to the very front of the screen above all of the other windows and

24
01:48.230 --> 01:49.850
tell you to take a break.

25
01:50.240 --> 01:53.780
So the first break is for five minutes and you'll notice here,

26
01:53.810 --> 01:58.810
we've already achieved one check mark for our first Pomodoro completed.

27
01:59.840 --> 02:01.820
And once you're done with the break,

28
02:01.850 --> 02:06.850
then it's going to go back to work and it's going to continue until you reach

29
02:07.340 --> 02:12.290
the longer break or until you click reset to stop and reset the timer.

30
02:13.100 --> 02:13.850
Effectively,

31
02:13.850 --> 02:17.780
it's going to help you do these Pomodoros where you have 25-minute work,

32
02:17.780 --> 02:21.710
5-minute break. You do four of these 25-minute work sessions,

33
02:21.770 --> 02:26.600
and then you get a 20-minute break. So hopefully by creating this program,

34
02:26.630 --> 02:30.830
you're going to increase your productivity and you're going to have your own handy tool

35
02:31.070 --> 02:33.380
to help you achieve more and do more.

36
02:33.950 --> 02:37.610
So this is what we're going to be building. Once you're ready, head over to the

37
02:37.610 --> 02:39.920
next lesson and let's get started.