numpy.lib.format.read_magic#

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

讀取魔術字串以取得檔案格式的版本。

參數:
fp類檔案物件
回傳值:
major整數
minor整數