Return to Video

One Way of Doing This - Programming Foundations with Python

  • 0:01 - 0:03
    Thank you for sharing your responses. I will
  • 0:03 - 0:07
    be providing feedback on the discussion forums periodically. Now,
  • 0:07 - 0:08
    here's one way in which we can solve
  • 0:08 - 0:11
    this problem. We have to write a program that
  • 0:11 - 0:14
    somehow looks at the right folder and gets
  • 0:14 - 0:17
    for us all of the filenames from that folder.
  • 0:17 - 0:22
    So let me write this down. As the first step we have to get all the file names.
  • 0:22 - 0:23
    [BLANK_AUDIO]
  • 0:30 - 0:33
    Once we have all of the file names, for each of the file name, what we want the
  • 0:33 - 0:39
    program to do is rename those files. So as a second
  • 0:39 - 0:46
    step, for each file, we want to rename it.
  • 0:48 - 0:50
    And by rename I mean remove all of the numbers from
  • 0:50 - 0:53
    the file name. Let's build this. I encourage you to follow along.
Title:
One Way of Doing This - Programming Foundations with Python
Description:

more » « less
Video Language:
English
Team:
Udacity
Project:
UD036 - OOP
Duration:
0:54

English subtitles

Revisions Compare revisions