Lines Matching full:os
26 import os
46 pipe = os.popen(command)
76 pipe = os.popen(command)
87 pipe = os.popen(command)
100 if not os.path.isfile(opath):
134 script_path = os.path.dirname(os.path.abspath(__file__))
135 linux_path = os.path.join(script_path, "..")
136 if not os.path.isdir(f"{linux_path}/Documentation/translations/{locale}"):
149 if os.path.basename(pwd) in exclude_folders:
152 for item in os.listdir(pwd):
153 ab_item = os.path.join(pwd, item)
154 if os.path.isdir(ab_item):
198 script_path = os.path.dirname(os.path.abspath(__file__))
199 linux_path = os.path.join(script_path, "..")
241 os.path.join(linux_path, "Documentation"), ["translations", "output"], "rst"
246 path_parts = file.split(os.sep)
253 new_file = os.sep.join(new_path_parts)
254 if os.path.isfile(new_file):
258 logging.info(os.path.relpath(os.path.abspath(file), linux_path))
261 files = list(map(lambda x: os.path.relpath(os.path.abspath(x), linux_path), files))
264 os.chdir(linux_path)