fileio
– Regular file interactions¶
This library provides functions to interact with real files in the system.
Functions¶
- printfile(path)¶
- Parameters:
path – The selected path.
This function tries to open the path, and then print it on the console.
- ensurefile(path)¶
- Parameters:
path – The path to find.
Verify if a file is accessible, and print the results.
- store_file(path)¶
- Parameters:
path – The existing file to store.
Open and read a real file, then store its contents on the library for its usage.
- print_stored()¶
Print the file that lives in the library memory. If nothing is there, raise a run error.