Lines Matching refs:os
3 import os
25 if not os.path.isfile(source_path):
27 if os.path.isdir(copy_path):
28 copy_path = os.path.join(copy_path, os.path.basename(source_path))
42 if not os.path.isdir(src_dir):
45 if not os.path.isdir(dst_dir):
47 os.makedirs(dst_dir)
52 if not os.path.isdir(dst_dir):
56 for item in os.listdir(src_dir):
57 file_path = os.path.join(src_dir, item)
58 child_path = os.path.join(dst_dir, item)
59 if os.path.isfile(file_path):
62 if not os.path.isfile(child_path):
66 if os.path.isdir(file_path):
109 script_files = glob.glob(os.path.join(path, "*" + suffix_name))