open
function returns a file object
, which lets us interact with files in different modes: we will see them in this article.
This is a companion discussion topic for the original entry at https://linuxconfig.org/how-to-perform-python-input-output-operations-on-files-with-python-open-function