numpy.lib.format.read_magic
-
lib.format.read_magic(fp)
[source] -
Read the magic string to get the version of the file format.
- Parameters
-
-
fpfilelike object
-
- Returns
-
-
majorint
-
minorint
-
© 2005–2021 NumPy Developers
Licensed under the 3-clause BSD License.
https://numpy.org/doc/1.21/reference/generated/numpy.lib.format.read_magic.html