Lines Matching full:os
154 import os
1186 if not os.path.exists(path):
1189 snippets = {'generator_script': os.path.basename(__file__)}
1253 data_file_name = os.path.basename(args.data_file)
1254 data_name = os.path.splitext(data_file_name)[0]
1256 out_c_file = os.path.join(args.out_dir, data_name + '.c')
1257 out_data_file = os.path.join(args.out_dir, data_name + '.datax')
1259 out_c_file_dir = os.path.dirname(out_c_file)
1260 out_data_file_dir = os.path.dirname(out_data_file)
1262 if not os.path.exists(directory):
1263 os.makedirs(directory)
1277 (os.path.basename(sys.argv[0]), str(err)))