Skip to content
This repository was archived by the owner on Jun 4, 2019. It is now read-only.

Renamed lesson_code.py to main.py #34

Merged
merged 1 commit into from
Jun 20, 2017

Conversation

Ethan-Arrowood
Copy link
Member

Closes #27

Used this python code to do this quickly:

import os
input_dir = 'challenges'
for entry in os.scandir(input_dir):
    if not entry.name.startswith('.') and entry.is_dir():
        print(entry.name)
        sub_dir = input_dir + '/' + entry.name
        for f in os.scandir(sub_dir):
            if f.name == 'lesson_code.py':
                src = sub_dir + '/' + f.name
                dst = sub_dir + '/main.py'
                os.rename(src, dst)

@Ethan-Arrowood Ethan-Arrowood merged commit cfd601c into freeCodeCamp:master Jun 20, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant