質問編集履歴

2

コード変更

2020/04/22 15:08

投稿

yamatail
yamatail

スコア77

test CHANGED
File without changes
test CHANGED
@@ -100,12 +100,36 @@
100
100
 
101
101
  ```
102
102
 
103
+
104
+
105
+
106
+
103
107
  ```python
104
108
 
105
109
  # -*- coding: utf-8 -*-
106
110
 
111
+ """
112
+
113
+ Created on Tue Feb 19 16:33:29 2019
114
+
115
+
116
+
117
+ """
118
+
107
119
  import cgi
108
120
 
121
+ import cgitb
122
+
123
+ cgitb.enable()
124
+
125
+
126
+
127
+ import sys
128
+
129
+ sys.stdout.reconfigure(encoding='utf-8')
130
+
131
+
132
+
109
133
 
110
134
 
111
135
  """ --- データの受け取り --- """
@@ -154,13 +178,13 @@
154
178
 
155
179
  import textwrap
156
180
 
157
-
181
+
158
182
 
159
183
  string = textwrap.dedent('''
160
184
 
161
185
  Content-type: text/html
162
186
 
163
-
187
+
164
188
 
165
189
  <html><head>
166
190
 
@@ -304,11 +328,13 @@
304
328
 
305
329
  import textwrap
306
330
 
331
+
332
+
307
333
  string = textwrap.dedent('''
308
334
 
309
335
  Content-type: text/html
310
336
 
311
-
337
+ <meta charset="UTF-8">
312
338
 
313
339
  <html><head>
314
340
 

1

誤字

2020/04/22 15:08

投稿

yamatail
yamatail

スコア77

test CHANGED
File without changes
test CHANGED
@@ -412,4 +412,4 @@
412
412
 
413
413
  windows10 64bit
414
414
 
415
- python3.6
415
+ python3.7