Lines Matching refs:os
25 import os
39 sys.path.insert(1, os.path.join(os.path.dirname(__file__), "..", "lib",
46 sys.path.insert(2, os.path.join(os.path.dirname(__file__), ".."))
94 return os.path.abspath(os.path.join(p.readlines()[0],
95 os.path.pardir))
176 ignorefiles = filter(os.path.exists,
177 [os.path.join(root, ".git", "%s.NOT" % cmd),
178 os.path.join(root, "exception_lists", cmd)])
190 c = os.path.abspath(os.path.join(root, path)).split(os.path.sep)
191 s = os.path.abspath(here).split(os.path.sep)
192 l = len(os.path.commonprefix((s, c)))
193 return os.path.join(*[os.path.pardir] * (len(s)-l) + c[l:])
201 if (os.path.exists(f) and select(f) and not exclude(f)):
377 main(os.path.basename(sys.argv[0]), sys.argv[1:])