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

質問編集履歴

1

個人情報の削除

2016/06/22 05:04

投稿

wh1tecat
wh1tecat

スコア19

title CHANGED
File without changes
body CHANGED
@@ -10,36 +10,35 @@
10
10
  しかしながら
11
11
  ``
12
12
  Traceback (most recent call last):
13
- File "C:\Users\wh1te\Desktop\html.py", line 42, in <module>
13
+ File "C:\Users\user\Desktop\html.py", line 42, in <module>
14
14
  commentsendcheck=urllib.request.urlopen(commenturl,data,headers)
15
- File "C:\Users\wh1te\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 162, in urlopen
15
+ File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 162, in urlopen
16
16
  return opener.open(url, data, timeout)
17
- File "C:\Users\wh1te\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 465, in open
17
+ File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 465, in open
18
18
  response = self._open(req, data)
19
- File "C:\Users\wh1te\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 483, in _open
19
+ File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 483, in _open
20
20
  '_open', req)
21
- File "C:\Users\wh1te\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 443, in _call_chain
21
+ File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 443, in _call_chain
22
22
  result = func(*args)
23
- File "C:\Users\wh1te\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1268, in http_open
23
+ File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1268, in http_open
24
24
  return self.do_open(http.client.HTTPConnection, req)
25
- File "C:\Users\wh1te\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1240, in do_open
25
+ File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\urllib\request.py", line 1240, in do_open
26
26
  h.request(req.get_method(), req.selector, req.data, headers)
27
- File "C:\Users\wh1te\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1083, in request
27
+ File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1083, in request
28
28
  self._send_request(method, url, body, headers)
29
- File "C:\Users\wh1te\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1128, in _send_request
29
+ File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1128, in _send_request
30
30
  self.endheaders(body)
31
- File "C:\Users\wh1te\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1079, in endheaders
31
+ File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1079, in endheaders
32
32
  self._send_output(message_body)
33
- File "C:\Users\wh1te\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 911, in _send_output
33
+ File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 911, in _send_output
34
34
  self.send(msg)
35
- File "C:\Users\wh1te\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 854, in send
35
+ File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 854, in send
36
36
  self.connect()
37
- File "C:\Users\wh1te\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 826, in connect
37
+ File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 826, in connect
38
38
  (self.host,self.port), self.timeout, self.source_address)
39
- File "C:\Users\wh1te\AppData\Local\Programs\Python\Python35\lib\socket.py", line 699, in create_connection
39
+ File "C:\Users\user\AppData\Local\Programs\Python\Python35\lib\socket.py", line 699, in create_connection
40
40
  sock.settimeout(timeout)
41
- TypeError: an integer is required (got type dict)
41
+ TypeError: an integer is required (got type dict)``
42
- ``
43
42
  といった形でエラーが出力されます。
44
43
  これは私の構文が間違っているためなのでしょうか?ご指示をお願いしたいです。
45
44
  また、もう一つお伺いしたいこととして