(Solved) : Write Function Takes Single Argument File Path Opening Reading Closing File Obtains Count Q43985717 . . .
Write a function that takes a single argument of a file pathand, by opening, reading and closing the file, obtains the count ofcharacters in the file. If the path argument does not refer to anexisting file, the function should return -1. python
Expert Answer
Answer to Write a function that takes a single argument of a file path and, by opening, reading and closing the file, obtains the …
OR