回答編集履歴

2

pep8へのリンク

2019/04/09 12:37

投稿

quickquip
quickquip

スコア11051

test CHANGED
@@ -35,3 +35,19 @@
35
35
  みたいな馬鹿なミスを避けるために、失敗するべき時はなるべく早いうちに失敗してエラーを出してもらった方がいいので。
36
36
 
37
37
  fail-fast の考えでしょう。
38
+
39
+
40
+
41
+
42
+
43
+ ----
44
+
45
+ (追記)
46
+
47
+
48
+
49
+ [https://www.python.org/dev/peps/pep-0008/#imports](https://www.python.org/dev/peps/pep-0008/#imports)
50
+
51
+
52
+
53
+ > Imports are always put at the top of the file, just after any module comments and docstrings, and before module globals and constants.

1

追記

2019/04/09 12:37

投稿

quickquip
quickquip

スコア11051

test CHANGED
@@ -33,3 +33,5 @@
33
33
  ```
34
34
 
35
35
  みたいな馬鹿なミスを避けるために、失敗するべき時はなるべく早いうちに失敗してエラーを出してもらった方がいいので。
36
+
37
+ fail-fast の考えでしょう。