import os
def readname():
filePath = 'G:\\workplace\\first\\SamplingAlgorithm\\datasets\\'
name = os.listdir(filePath)
return name
if __name__ == "__main__":
name = readname()
print(name)
for i in name:
print(i)
网友评论