cara konvrete .npz file ke file txt di python
import numpy as np
import sys
data = np.load("file_name.npz")
print(data.files)
row = data.files
np.set_printoptions(threshold=np.inf)
print(data['arr_0'])
sys.stdout=open("test.txt","w")
for i in row:
print("--------------------------")
print(data[i])
sys.stdout.close()
Uninterested Unicorn