質問するログイン新規登録

質問編集履歴

2

修正

2021/11/15 03:37

投稿

person
person

スコア224

title CHANGED
File without changes
body CHANGED
@@ -47,6 +47,9 @@
47
47
 
48
48
  finally:
49
49
  con.commit()
50
+
51
+ cur.close()
52
+ con.close()
50
53
  ```
51
54
 
52
55
  Windows10

1

追記

2021/11/15 03:37

投稿

person
person

スコア224

title CHANGED
File without changes
body CHANGED
@@ -47,4 +47,18 @@
47
47
 
48
48
  finally:
49
49
  con.commit()
50
+ ```
51
+
52
+ Windows10
53
+
54
+ ```
55
+ > python -V
56
+ Python 3.8.2
57
+
58
+ > mysql --version
59
+ mysql Ver 8.0.19 for Win64 on x86_64 (MySQL Community Server - GPL)
60
+
61
+ > pip3 list
62
+ (省略)
63
+ PyMySQL 0.9.3
50
64
  ```