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

質問編集履歴

3

編集

2021/06/29 22:45

投稿

yyyrrr
yyyrrr

スコア17

title CHANGED
File without changes
body CHANGED
File without changes

2

編集

2021/06/29 22:45

投稿

yyyrrr
yyyrrr

スコア17

title CHANGED
File without changes
body CHANGED
@@ -4,8 +4,8 @@
4
4
  解決方法わかる人いましたらご教授お願いします。
5
5
  > https://techacademy.jp/magazine/22345
6
6
 
7
- yooutubeのサイト
7
+ youtubeのサイト
8
- ```https://www.youtube.com/watch?v=mwk3V5X3rUg&list=PL4Y-mUWLK2t1LehwHVwAqxXTXw5xd-Yq8&index=11```
8
+ > https://www.youtube.com/watch?v=mwk3V5X3rUg&list=PL4Y-mUWLK2t1LehwHVwAqxXTXw5xd-Yq8&index=11
9
9
  ```
10
10
  SyntaxError: Non-ASCII character '\xe3' in file Section11/lesson.py on line 19, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
11
11
  ```

1

編集

2021/06/29 13:31

投稿

yyyrrr
yyyrrr

スコア17

title CHANGED
File without changes
body CHANGED
@@ -1,10 +1,11 @@
1
1
  youtubeのwebスクレイピングの動画をやっています。
2
- https://www.youtube.com/watch?v=mwk3V5X3rUg&list=PL4Y-mUWLK2t1LehwHVwAqxXTXw5xd-Yq8&index=11
3
2
  下記のファイルをpython Section11/lesson.pyで実行するとSyntaxErrorエラーになってしまいます。
4
3
  エラーを調べたところ```# -*- coding: utf-8 -*-```をつけたらエラーが治ると下記のサイトに書いてあったのですが治りませんでした。
5
4
  解決方法わかる人いましたらご教授お願いします。
6
5
  > https://techacademy.jp/magazine/22345
7
6
 
7
+ yooutubeのサイト
8
+ ```https://www.youtube.com/watch?v=mwk3V5X3rUg&list=PL4Y-mUWLK2t1LehwHVwAqxXTXw5xd-Yq8&index=11```
8
9
  ```
9
10
  SyntaxError: Non-ASCII character '\xe3' in file Section11/lesson.py on line 19, but no encoding declared; see http://python.org/dev/peps/pep-0263/ for details
10
11
  ```