摘要:
python中可以使用faker来制造一些虚拟数据 首选安装faker 老版的叫法是faker-factory,但是已不适用 使用faker.Factory.create()来创建并初始化faker生成器(generator) 使用方法如下: 每一次调用faker之后,返回的数据是不一样的 为了能够 阅读全文
posted @ 2017-07-17 16:32
hellowcf
阅读(729)
评论(0)
推荐(0)
摘要:
os.walk(top, topdown=True, onerror=None, followlinks=False) 可以得到一个三元tupple(dirpath, dirnames, filenames), 第一个为起始路径,第二个为起始路径下的文件夹,第三个是起始路径下的文件。 dirpath 阅读全文
posted @ 2017-07-17 09:46
hellowcf
阅读(167)
评论(0)
推荐(0)

浙公网安备 33010602011771号