Guest User

Untitled

a guest
Dec 14th, 2020
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.29 KB | None | 0 0
  1. for line in f:
  2.     result = line.split(" ")
  3.     if 'PingWebSocketCM()' in result:
  4.         date = str(result[0] + ' ' + result[1])
  5.         print(date)
  6.         echo = str(result[5:])
  7.         print(echo)
  8.         cursor.execute("INSERT INTO logs VALUES (?, ?)", (echo, date))
  9.         conn.commit()
Advertisement
Add Comment
Please, Sign In to add comment