Computers and Technology
Computers and Technology, 05.12.2019 17:31, 970032036

Write a function safeopen() that takes one parameter, filename — a string giving the pathname of the file to be opened for reading. when safeopen() is used to open a file, a reference to the opened file object should be returned if no exception is raised, just like for the open() function. if an exception is raised while trying to open the file, safeopen() should return the value none.

answer
Answers: 1

Similar questions

Do you know the correct answer?
Write a function safeopen() that takes one parameter, filename — a string giving the pathname of the...

Questions in other subjects:

Konu
Mathematics, 03.12.2020 05:20