摘要:
#!/usr/bin/pythonimport osimport sysimport reimport getopt_SPLITE_ = ';'table_name = ''def parserFile(path): try: f = open(path, 'r') except: print "open [%s] failed." % path return lines = f.readlines() f.close() if len(lines) <= 0: print "no data in f... 阅读全文