maci.loadraw
loads raw data from a file
loading a file raw
Loads any raw data from a file and returns a string by default, or optionally bytes. This is helpful to easily load file data without writing extra boilerplate code just to load raw data from a file.
maci.loadraw -> str | bytes
Basic Example of loading a file using default positional parameter
In this example, we simply load raw data from a file using the loadraw function and pass a string of the filepath to the file as an argument to the function to load the raw data, and assign the returned data to a variable.
Example viewing the data and its original representation
parameters & arguments
Describes all parameter functionality and accepted data types
Last updated