(name, path)
| 41 | return stdout_str |
| 42 | |
| 43 | def copy_file(name, path): |
| 44 | res = True |
| 45 | if os.path.exists(path): |
| 46 | shutil.copy(path, out_path) |
| 47 | else: |
| 48 | print('makeimg err! No ' + name + ' file found: ' + path) |
| 49 | res = False |
| 50 | return res |
| 51 | |
| 52 | def is_exists(name, path): |
| 53 | res = True |