-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmain.py
19 lines (16 loc) · 885 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from downloaders.question_data.question_data_downloader import main as download_question_data
from downloaders.question_pdf.question_pdf_downloader import main as download_question_pdf
from downloaders.question_solution.question_solution_video_downloader import main as download_question_solution_videos
from practice_environment_builder.builder import main as build_practice_environment
from config import RUN_download_question_data, RUN_download_question_pdf, RUN_download_question_solution_videos, RUN_build_practice_environment
def main():
if RUN_download_question_data:
download_question_data()
if RUN_download_question_pdf:
download_question_pdf()
if RUN_download_question_solution_videos:
download_question_solution_videos()
if RUN_build_practice_environment:
build_practice_environment()
if __name__ == "__main__":
main()