Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
write()
writelines()
append()
D. None of the above
exists()
isfile()
isdir()
D. both A and B
read()
readline()
readlines()
D. write()
json.read()
json.load()
json.write()
D. json.dump()
file = open("filename.txt", "w")
file = open("filename.txt", "r")
file = open("filename.txt", "a")
D. file = open("filename.txt", "x")
os.chdir()
os.getcwd()
os.mkdir()
D. os.listdir()
close()
D. open()
os.listdir()
D. os.path()