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