Is there a Python library for reading/writing to files?
Must have features:
- Python 3 support
- Single line commands for
- Reading file into a string
- Reading file into list of string (each line is one string)
- Writing string to file
- Writing list of strings to file (each string is a line)
Being able to specify file path relative to script directory would be nice, but not necessary.