What does the new open file mode \"x\" do in python 3?
here is the doc of python 3:
\'r\': open for reading (default) \'w\': open
\'r\': open for reading (default)
\'w\': open
To put simple, opening a file with 'x' mode means:
'x'
Atomically do: (check if exists and create file)