Lines Matching refs:os
17 import os
50 os.rename(tmp_device, device)
55 for root, dirs, files in os.walk(target_dir):
56 size += sum([roundup(os.path.getsize(os.path.join(root, name)), BLOCK_SIZE) for name in files])
83 img_size = os.path.getsize(device)
107 os.environ['PATH'] = '{}:{}'.format(env_path, os.environ.get('PATH'))
160 if os.path.exists(args.output_image_path):
161 os.remove(args.output_image_path)
162 if os.path.isdir(args.input_path):