質問編集履歴

2

書式の改善

2018/03/20 05:12

投稿

peromaron
peromaron

スコア7

test CHANGED
File without changes
test CHANGED
@@ -18,9 +18,9 @@
18
18
 
19
19
  エラーメッセージ
20
20
 
21
- ```
22
21
 
23
- mysql.connector.errors.ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '+= 1 where id = 1' at line 1
22
+
23
+ ```mysql.connector.errors.ProgrammingError: 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '+= 1 where id = 1' at line 1
24
24
 
25
25
 
26
26
 
@@ -31,6 +31,10 @@
31
31
 
32
32
 
33
33
  ### 該当のソースコード
34
+
35
+
36
+
37
+ ```ここに言語を入力
34
38
 
35
39
  class Analysis:
36
40
 
@@ -148,7 +152,9 @@
148
152
 
149
153
 
150
154
 
155
+
156
+
151
- ### 試したこと
157
+ ```### 試したこと
152
158
 
153
159
 
154
160
 

1

誤字

2018/03/20 05:12

投稿

peromaron
peromaron

スコア7

test CHANGED
@@ -1 +1 @@
1
- python3においての変数出力エラーについて
1
+ virustotal api python3においての変数出力エラーについて
test CHANGED
@@ -38,7 +38,7 @@
38
38
 
39
39
  #database接続
40
40
 
41
- self.connect = mysql.connector.connect(user='root', password='', host='localhost', database='kaiseki_development', charset='utf8')
41
+ self.connect = mysql.connector.connect(user='root', password='', host='localhost', database='', charset='utf8')
42
42
 
43
43
  self.connect.autocommit = True
44
44
 
@@ -46,7 +46,7 @@
46
46
 
47
47
  self.analysis_id = analysis_id
48
48
 
49
- self.cursor.execute('use kaiseki_development')
49
+ self.cursor.execute('use ')
50
50
 
51
51
 
52
52