Chapter 4: Problem 17
What import statement will you need in a program that performs file operations?
Short Answer
Expert verified
Answer: To perform file operations in Python, you will need to import the built-in "os" module using the import statement as follows:
```python
import os
```
The "os" module allows you to interact with the operating system and perform tasks such as creating, deleting, or moving files and directories.