Return to Video

One Way of Doing This - Programming Foundations with Python

  • 0:00 - 0:02
    Thank you for sharing your responses. I
  • 0:02 - 0:06
    will be providing feedback on the forums periodically.
  • 0:06 - 0:11
    Now there are several ways in which to solve this problem. One way is for us
  • 0:11 - 0:13
    to write a program that somehow keeps track
  • 0:13 - 0:16
    of time, say two hours, and it essentially
  • 0:16 - 0:21
    does nothing during that time. So the first thing we want the program to do is
  • 0:24 - 0:25
    Wait for two hours.
  • 0:28 - 0:30
    And after we've waited for that amount of time, we
  • 0:30 - 0:33
    want the program to open up a web browser, which
  • 0:33 - 0:35
    plays let's say a YouTube video which is your friends
  • 0:35 - 0:41
    favorite song. So the second thing is to open a browser.
  • 0:41 - 0:44
    [BLANK_AUDIO]
  • 0:44 - 0:48
    Now because we want these two steps to happen multiple times
  • 0:48 - 0:51
    during the day. Because we want to take multiple breaks during the
  • 0:51 - 0:54
    day. We want to put these two steps inside some sort of
  • 0:54 - 1:00
    loop. So let's say we want to repeat these steps three times.
  • 1:00 - 1:03
    [BLANK_AUDIO]
  • 1:03 - 1:05
    Let's build this. I encourage you to follow along.
Cím:
One Way of Doing This - Programming Foundations with Python
Leírás:

more » « less
Video Language:
English
Team:
Udacity
Projekt:
UD036 - OOP
Duration:
01:06

English subtitles

Felülvizsgálatok Compare revisions