Presumably if I have a line of code
Code:
s = '123456'
Code:
t = unicode('123456', 'mbcs')
Code:
if s == t:
And what is the internal format of the string, I thought...
s = '123456'
t = unicode('123456', 'mbcs')
if s == t:
files = getallfiles(path)
filteredfiles = [x for x in files if not (x.lower().split('.')[-1] in no_ext)]
print filteredfiles
return filteredfiles
Leave a comment: