删除30天没有访问过的日志
摘要:import os,random,time,shutillist_dir = os.listdir(r"D:\test1")for file in list_dir: print(file) print(os.path.abspath(file)) os.chdir(r"D:\test1") fil
阅读全文
posted @
2019-04-03 14:29
SZ_文彬
阅读(97)
推荐(0) 编辑
sqlalchemy多对多关联
摘要:sqlalchemy_many_to_many.py #!-*-coding:utf-8-*-from sqlalchemy import Table,Column,Integer,String,DATE,ForeignKeyfrom sqlalchemy.orm import relationsh
阅读全文
posted @
2019-04-03 11:45
SZ_文彬
阅读(378)
推荐(0) 编辑
sqlalchemy多外键关联
摘要:sqlalchemy_many_fk.py from sqlalchemy import Integer, ForeignKey, String, Column,create_enginefrom sqlalchemy.ext.declarative import declarative_basef
阅读全文
posted @
2019-04-03 11:45
SZ_文彬
阅读(246)
推荐(0) 编辑