回答編集履歴
2
追記
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
明示
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
|
|