Lines Matching refs:os
26 import os
47 pipe = os.popen(command)
109 pipe = os.popen(command)
120 pipe = os.popen(command)
133 if not os.path.isfile(opath):
170 script_path = os.path.dirname(os.path.abspath(__file__))
171 linux_path = os.path.join(script_path, "../..")
172 if not os.path.isdir(f"{linux_path}/Documentation/translations/{locale}"):
185 if os.path.basename(pwd) in exclude_folders:
188 for item in os.listdir(pwd):
189 ab_item = os.path.join(pwd, item)
190 if os.path.isdir(ab_item):
234 script_path = os.path.dirname(os.path.abspath(__file__))
235 linux_path = os.path.join(script_path, "../..")
277 os.path.join(linux_path, "Documentation"), ["translations", "output"], "rst"
282 path_parts = file.split(os.sep)
289 new_file = os.sep.join(new_path_parts)
290 if os.path.isfile(new_file):
294 logging.info(os.path.relpath(os.path.abspath(file), linux_path))
297 files = list(map(lambda x: os.path.relpath(os.path.abspath(x), linux_path), files))
300 os.chdir(linux_path)