Home | History | Annotate | Download | only in python2.7

Lines Matching refs:comp

23     comp = url.split('|')
24 if len(comp) != 2 or comp[0][-1] not in string.ascii_letters:
27 drive = comp[0][-1].upper()
29 components = comp[1].split('/')
30 for comp in components:
31 if comp:
32 path = path + '\\' + urllib.unquote(comp)
55 comp = p.split(':')
56 if len(comp) != 2 or len(comp[0]) > 1:
60 drive = urllib.quote(comp[0].upper())
61 components = comp[1].split('\\')
63 for comp in components:
64 if comp:
65 path = path + '/' + urllib.quote(comp)