在Linux系统中,下列语句中,可用于读取当前目录下的data目录中的file.txt文件的是()
选项:
A:with open('data/file.txt', 'r') as f:
B:with open('data//file.txt', 'r') as f:
C:with open('data\file.txt', 'r') as f:
D:with open('data\\file.txt', 'r') as f:
发布时间:2024-06-04 14:07:37