numpy.lib.format.read_magic#

lib.format.read_magic(fp)[原始碼]#

Read the magic string to get the version of the file format.

參數:
fpfilelike object
回傳值:
majorint
minorint