Lines Matching refs:os
30 import os.path
35 if not os.path.exists(data_dir):
36 os.makedirs(data_dir)
38 output = open(os.path.join(data_dir, runid + ".csv"), "w")
44 annotated_dir = os.path.join(data_dir, runid + ".annotated")
45 if os.path.exists(annotated_dir):
58 annotated_path = os.path.join(annotated_dir, path)
60 os.makedirs(os.path.dirname(annotated_path))
129 base_name = os.path.splitext(os.path.basename(f))[0]
134 (garbage,extension) = os.path.splitext(f)