Lines Matching refs:comp
30 comp = url.split('|')
31 if len(comp) != 2 or comp[0][-1] not in string.ascii_letters:
34 drive = comp[0][-1].upper()
35 components = comp[1].split('/')
37 for comp in components:
38 if comp:
39 path = path + '\\' + urllib.parse.unquote(comp)
70 comp = p.split(':', maxsplit=2)
71 if len(comp) != 2 or len(comp[0]) > 1:
75 drive = urllib.parse.quote(comp[0].upper())
76 components = comp[1].split('\\')
78 for comp in components:
79 if comp:
80 path = path + '/' + urllib.parse.quote(comp)