Python - File Handling Fundamentals
Which file mode in Python opens a file for reading only, and raises an error if the file does not exist?
file = open('data.txt', mode)file = open('data.txt', mode)15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions