摘要:
import numpy as nparray1 = np.array([1,2,3,4])print(array1)array2 = np.array((1,2,3,4))print(array2)array3 = np.array([[1,2,3,4], [5,6,7,8]])print(arr 阅读全文
posted @ 2022-03-28 16:50
狒狒桑
阅读(24)
评论(0)
推荐(0)
摘要:
# 遍历当前目录下所有文件 def read_file(path): if os.path.isdir(path): file_dirs = os.listdir(path) for file_dir in file_dirs: if os.path.isdir(os.path.join(path, 阅读全文
posted @ 2022-03-28 16:47
狒狒桑
阅读(59)
评论(0)
推荐(0)