What will be the output of the given code?
>>>fileObject = open(“xyz.txt”, “wb”)
>>>print(“name of the file:”, fileObject.name)
>>>fileObject.close()
>>>print(“file closed”)
How will you rename a file in Python?
How will you delete a file in Python?
What is exception handling?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here