質問編集履歴

3

 

2023/02/21 04:20

投稿

c-man
c-man

スコア5

test CHANGED
File without changes
test CHANGED
@@ -49,7 +49,7 @@
49
49
  for line in f:
50
50
  # print(line, end='')
51
51
  checkURL(line)
52
- row = [url,checkURL(check)]
52
+ row = [url,checkURL(line)]
53
53
  writer.writerow(row)
54
54
  ```
55
55
 

2

 

2023/02/21 04:17

投稿

c-man
c-man

スコア5

test CHANGED
File without changes
test CHANGED
@@ -45,6 +45,7 @@
45
45
  if __name__ == '__main__':
46
46
 
47
47
  with open('C:\\Users\\original.csv','a', encoding='utf-8',newline='') as f:
48
+ writer = csv.writer(f)
48
49
  for line in f:
49
50
  # print(line, end='')
50
51
  checkURL(line)

1

 

2023/02/21 03:47

投稿

c-man
c-man

スコア5

test CHANGED
File without changes
test CHANGED
@@ -22,7 +22,8 @@
22
22
  with open('C:\\Users\\original.csv') as f:
23
23
  for line in f:
24
24
  # print(line, end='')
25
- checkURL(line)```
25
+ checkURL(line)
26
+ ```
26
27
 
27
28
  ### 試したこと
28
29