Hanz Kanst added the comment: Hm, how can I handle this if "file" is an existing string and there is no option to assign raw via r'some\raw\string'? ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue19844> _______________________________________