Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What does the 'x' mode do when opening a file in Python?
Opens a file for reading only
Opens a file for binary writing
Creates a new file and writes to it, raising an error if the file exists
Appends to an existing file
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!