use c:// in path python code example Example: file path in python for windows outputFileName = 'Destination/With/Forward/Slash/filename.txt'