@@ -58,9 +58,9 @@ class MysqlClient(object):
关闭连接
"""
self.connection.close()
-
-M = MysqlClient()
-sql = "SELECT title from wx_video where id = '19591529';"
-w = M.select(sql)
-print(w)
+#
+# M = MysqlClient()
+# sql = "SELECT title from wx_video where id = '19591529';"
+# w = M.select(sql)
+# print(w)
@@ -112,5 +112,4 @@ class DataProcessor(object):
if __name__ == "__main__":
D = DataProcessor(flag="train")
- a, b = D.title_processor("19591529")
- print(a, b)
+ D.producer()