Stay organized with collections Save and categorize content based on your preferences.

Loads file from the file path.

file_path valid file path string.
mode a string specifies the model in which the file is opened. Use "rt" for reading in text mode; use "rb" for reading in binary mode.

The loaded file in str or bytes.