回答編集履歴

2

追記

2019/06/20 06:30

投稿

quickquip
quickquip

スコア11299

test CHANGED
@@ -1,3 +1,5 @@
1
+ `as`
2
+
1
3
  ```python
2
4
 
3
5
  # b1.py
@@ -6,4 +8,14 @@
6
8
 
7
9
  ```
8
10
 
9
- など別の名前に束縛します。
11
+ など別の名前に束縛します。
12
+
13
+
14
+
15
+ ----
16
+
17
+
18
+
19
+ [https://docs.python.org/ja/3/tutorial/modules.html#executing-modules-as-scripts](https://docs.python.org/ja/3/tutorial/modules.html#executing-modules-as-scripts)
20
+
21
+ のアンカーのちょっと上です。

1

明示

2019/06/20 06:30

投稿

quickquip
quickquip

スコア11299

test CHANGED
@@ -1,4 +1,6 @@
1
1
  ```python
2
+
3
+ # b1.py
2
4
 
3
5
  from a2.b2 import func as func_a2_b2
4
6