(command)
| 12 | |
| 13 | # Runs a command and checks the return value for success |
| 14 | def run(command): |
| 15 | status = os.system(command) |
| 16 | if status != 0: |
| 17 | print('Error: non-zero return value') |
| 18 | exit(1) |
| 19 | |
| 20 | def download_file(url, output_dir): |
| 21 | print('Downloading file:', url) |