Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
Clone or download
tool_data_cleaning.py 398 Bytes
Copy Edit Web IDE Raw Blame History
茹憶 authored 2017-08-07 15:36 . 代码目录调整,修改readme
#!/usr/bin/env python
#coding:utf-8
import os
import sys
import string
import time
import datetime
import MySQLdb
path='./include'
sys.path.insert(0,path)
import functions as func
def main():
try:
func.mysql_exec('delete from alarm_history;','')
except Exception, e:
print e
sys.exit(1)
finally:
sys.exit(1)
if __name__=='__main__':
main()

Comment ( 0 )

Sign in for post a comment