Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def read_file(file_names_2):
- global templet_1h
- import numpy as np
- Delete_elements=["arr_0"]
- evaluate_1= "templet_1h=np.load("./" +file_names_2+ ".npz")";
- exec(evaluate_1,globals())
- for i in (templet_1h.files):
- if not ( (i in Delete_elements) ):
- evaluate_2= i+"="+"templet_1h["" + i + ""]";
- exec(evaluate_2,globals())
- del templet_1h
- return
Add Comment
Please, Sign In to add comment