Return to Video

Running Our Code - Programming Foundations with Python

  • 0:00 - 0:05
    So here I am back at my code and I have pasted both the account_sid and the
  • 0:05 - 0:10
    Authorization Token, into my program. Now the next thing I want to change, is
  • 0:10 - 0:14
    the body of the text message. I will change it to something I actually want to
  • 0:14 - 0:19
    send which is, My name is Ron Burgandy?
  • 0:20 - 0:26
    With a question mark. Now for this 'to' number the commons in the code
  • 0:26 - 0:28
    suggests that I have to replace it with my
  • 0:28 - 0:32
    phone number. So, I'm going to select and change
  • 0:32 - 0:36
    this to my phone number with my country code.
  • 0:36 - 0:38
    This by the way is also the number I
  • 0:38 - 0:42
    registered with twilio previously. Then they say the from
  • 0:42 - 0:44
    number, I have to replace it with my Twilio
  • 0:44 - 0:48
    number. Now, I remember that Twilio actually gave me
  • 0:48 - 0:51
    a phone number, but I didn't quite save it.
  • 0:51 - 0:53
    So, if I go back to my accounts page, and click
  • 0:53 - 0:59
    on Numbers. I can get my phone number from Twilio. All right,
  • 0:59 - 1:03
    back to the code and now I can change that number along
  • 1:03 - 1:07
    with the country code. Next I will save and run my program
  • 1:10 - 1:11
    and this is the phone that I'm going to receive
  • 1:11 - 1:14
    the text message. So I'm just going to give my program
  • 1:14 - 1:17
    a few seconds op, there it is, there's my text
  • 1:17 - 1:20
    message. Let me read it. You probably can't read it but
  • 1:20 - 1:25
    it says my name is Ron Burgendy. Alright this just
  • 1:25 - 1:28
    blows my mind that a few lines of code like this
  • 1:28 - 1:31
    can help us send a text message. Okay, so now
  • 1:31 - 1:35
    that this code has worked, let's figure out what's actually going
  • 1:35 - 1:35
    on with this code.
タイトル:
Running Our Code - Programming Foundations with Python
概説:

more » « less
Video Language:
English
Team:
Udacity
プロジェクト:
UD036 - OOP
Duration:
01:37

English subtitles

改訂 Compare revisions