1
00:00:00,180 --> 00:00:04,950
Hey guys, welcome to day 28 of 100 Days of Code. Today

2
00:00:04,950 --> 00:00:09,000
we're going to be building a Pomodora app completely from scratch

3
00:00:09,240 --> 00:00:13,530
using tkinter and the knowledge that we gained from yesterday's lessons.

4
00:00:14,190 --> 00:00:17,220
Now you've already heard me talk about the Pomodoro technique,

5
00:00:17,280 --> 00:00:19,860
this famous book by Francesco Cirillo,

6
00:00:20,570 --> 00:00:25,570
Cirillo. This

7
00:00:29,060 --> 00:00:34,060
famous technique that helps people time-manage and to get more stuff done.

8
00:00:35,480 --> 00:00:37,250
Now, if you didn't hear me talk about it,

9
00:00:37,280 --> 00:00:40,700
this is basically a very simple breakdown. Essentially,

10
00:00:40,700 --> 00:00:43,390
you figure out the task that you need to do something hard,

11
00:00:43,400 --> 00:00:48,320
something that takes a while like writing your next book or coding up a project.

12
00:00:48,890 --> 00:00:52,970
And then you want to set your timer to the 25 minutes and then work on the task

13
00:00:53,000 --> 00:00:57,950
for 25 minutes. And then after that, you take a short five-minute break.

14
00:00:58,280 --> 00:01:03,080
And after you've done four of these Pomodoros, basically four repetition,

15
00:01:03,140 --> 00:01:06,500
then you get to take a 15 to 30 minute break.

16
00:01:07,310 --> 00:01:12,110
So this basically really effectively utilizes the way that our brain works to

17
00:01:12,320 --> 00:01:17,320
take short breaks often and to work for 25 minutes at a time,

18
00:01:17,990 --> 00:01:22,970
which helps us with information retention and also keeping up the motivation.

19
00:01:23,660 --> 00:01:28,660
This is the program that we're going to be building using tkinter. It's going to

20
00:01:28,760 --> 00:01:32,930
be a timer with a tomato on it. And when you click start,

21
00:01:33,020 --> 00:01:36,170
it's going to tell you to work for 25 minutes.

22
00:01:36,830 --> 00:01:39,080
Then that window can go into the background

23
00:01:39,410 --> 00:01:43,520
and while you're writing your code or doing whatever, when the timer's up,

24
00:01:43,580 --> 00:01:48,230
it will pop to the very front of the screen above all of the other windows and

25
00:01:48,230 --> 00:01:49,850
tell you to take a break.

26
00:01:50,240 --> 00:01:53,780
So the first break is for five minutes and you'll notice here,

27
00:01:53,810 --> 00:01:58,810
we've already achieved one check mark for our first Pomodoro completed.

28
00:01:59,840 --> 00:02:01,820
And once you're done with the break,

29
00:02:01,850 --> 00:02:06,850
then it's going to go back to work and it's going to continue until you reach

30
00:02:07,340 --> 00:02:12,290
the longer break or until you click reset to stop and reset the timer.

31
00:02:13,100 --> 00:02:13,850
Effectively,

32
00:02:13,850 --> 00:02:17,780
it's going to help you do these Pomodoros where you have 25-minute work,

33
00:02:17,780 --> 00:02:21,710
5-minute break. You do four of these 25-minute work sessions,

34
00:02:21,770 --> 00:02:26,600
and then you get a 20-minute break. So hopefully by creating this program,

35
00:02:26,630 --> 00:02:30,830
you're going to increase your productivity and you're going to have your own handy tool

36
00:02:31,070 --> 00:02:33,380
to help you achieve more and do more.

37
00:02:33,950 --> 00:02:37,610
So this is what we're going to be building. Once you're ready, head over to the

38
00:02:37,610 --> 00:02:39,920
next lesson and let's get started.

