返回总目录页
摘要: django实现将linux目录和文件名列出来 def index(request): obj=models.USER.objects.all() fileroot = 'd:\machangwei' fli = os.listdir(fileroot) print(fli) dirdic = {} 阅读全文
posted @ 2021-12-19 15:24 马昌伟 阅读(45) 评论(0) 推荐(0) 编辑
博主链接地址:https://www.cnblogs.com/machangwei-8/