Lines Matching refs:path
14 here = os.path.dirname(__file__)
17 CERTFILE = os.path.join(here, 'keycert.pem')
55 def translate_path(self, path):
64 path = urllib.parse.urlparse(path)[2]
65 path = os.path.normpath(urllib.parse.unquote(path))
66 words = path.split('/')
68 path = self.root
70 drive, word = os.path.splitdrive(word)
71 head, word = os.path.split(word)
72 path = os.path.join(path, word)
73 return path