I have a task where I have to generate txt files on my Linux machine with some of their names having '/' in it. Is it possible to do the same in Python3?
eg. "Sheffield Doc/Fest.txt", "True/False Film Fest.txt"
f = open('Sheffield Doc\\\/Fest.txt', 'w')
but it raises an error.
Andy Lester answered question
Have an answer?