From ebc4b8795217e2c6b8d175e9a47921459dd4100f Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Mon, 13 Apr 2015 23:00:36 +0200 Subject: [PATCH] Modify merge result to get (hopefully) valid Python 3 --- csvdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/csvdb.py b/csvdb.py index 600b880..17453e3 100755 --- a/csvdb.py +++ b/csvdb.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 -print "This script is not working yet... If you are trying to test it, please delete lines 3 to 5 of this file." +print("This script is not working yet... If you are trying to test it, please delete lines 3 to 5 of this file.") import sys sys.exit(0) @@ -22,4 +22,4 @@ except sqlite3.OperationalError: print("Database.db already exists. Please delete it before trying to create a new one.") for row in input[1:]: - cur.execute("INSERT INTO tweets VALUES(?,?,?,?,?,?,?,?,?,?);",row) \ No newline at end of file + cur.execute("INSERT INTO tweets VALUES(?,?,?,?,?,?,?,?,?,?);",row)