質問編集履歴
2
書式の改善
test
CHANGED
File without changes
|
test
CHANGED
@@ -32,9 +32,21 @@
|
|
32
32
|
|
33
33
|
|
34
34
|
|
35
|
+
app.pyの中には
|
36
|
+
|
37
|
+
```
|
38
|
+
|
39
|
+
from ecommerce.shipping import calc_shipping
|
35
40
|
|
36
41
|
|
37
42
|
|
43
|
+
calc_shipping()
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
```
|
48
|
+
|
49
|
+
が入っています。
|
38
50
|
|
39
51
|
app.pyのモジュール内で、ecommerce内にあるshipping.pyから、calc_shippingをimportしたいのですが、
|
40
52
|
|
@@ -43,3 +55,29 @@
|
|
43
55
|
|
44
56
|
|
45
57
|
助けてください
|
58
|
+
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
|
65
|
+
エラーは> Traceback (most recent call last):
|
66
|
+
|
67
|
+
File "C:\Users\user\Dropbox\My PC (DESKTOP-LDPHCJ7)\Desktop\python_lesson\app.py", line 1, in <module>
|
68
|
+
|
69
|
+
from ecommerce.shipping import calc_shipping
|
70
|
+
|
71
|
+
ImportError: cannot import name 'calc_shipping' from 'ecommerce.shipping' (C:\Users\user\Dropbox\My PC (DESKTOP-LDPHCJ7)\Desktop\python_lesson\ecommerce\shipping.py)
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
Process returned 1 (0x1) execution time : 0.040 s
|
76
|
+
|
77
|
+
Press any key to continue . . .
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
です
|
1
画像の追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
![![イメージ説明](b9aee693b0896fa690ff0d7f4dc45383.png)説明](eb6872bfd7ad88adb7a74294105c22df.png)](465bbd78634c40df6b3faae0fd551942.png)
|
1
|
+
![イメージ説明](c8424ee7de4c0c4fc7809ea192e8e421.png)![![イメージ説明](b9aee693b0896fa690ff0d7f4dc45383.png)説明](eb6872bfd7ad88adb7a74294105c22df.png)](465bbd78634c40df6b3faae0fd551942.png)
|
2
2
|
|
3
3
|
|
4
4
|
|