Lines Matching refs:os
19 import os
93 return os.path.isfile(file_path)
107 items = os.listdir(path)
109 item_path = os.path.join(path, item)
110 if not os.path.isdir(item_path):
121 if os.path.splitext(file)[-1] == ".idl":
127 current_path = os.path.dirname(os.path.abspath(__file__))
128 relative_path = os.path.join(current_path, get_idl_name())
129 return os.path.realpath(relative_path)
134 if os.name == 'nt':
136 elif os.name == 'posix':