回答編集履歴
2
追記
answer
CHANGED
@@ -1,5 +1,11 @@
|
|
1
|
+
`as`
|
1
2
|
```python
|
2
3
|
# b1.py
|
3
4
|
from a2.b2 import func as func_a2_b2
|
4
5
|
```
|
5
|
-
など
|
6
|
+
などの別の名前に束縛します。
|
7
|
+
|
8
|
+
----
|
9
|
+
|
10
|
+
[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)
|
11
|
+
のアンカーのちょっと上です。
|
1
明示
answer
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
```python
|
2
|
+
# b1.py
|
2
3
|
from a2.b2 import func as func_a2_b2
|
3
4
|
```
|
4
5
|
などで別の名前に束縛します。
|