files and i/o — moving data in and out5 / 9
pathlib — the file api ai should reach for first
Fill in the pathlib method that reads the entire file into a string in
one call. No open, no with, no f.read().
Method name:
⌘↵ runs the editor.
Booting Python…
Output
[promptdojo:~]$ _