16.04.12 00:07, Kiuhnm написав(ла):
path = path.replace('\\', '\\\\')
If you think that it is too complicated: path = re.sub('\\\\', '\\\\\\\\', path) -- http://mail.python.org/mailman/listinfo/python-list
16.04.12 00:07, Kiuhnm написав(ла):
path = path.replace('\\', '\\\\')
If you think that it is too complicated: path = re.sub('\\\\', '\\\\\\\\', path) -- http://mail.python.org/mailman/listinfo/python-list