質問編集履歴
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -37,3 +37,31 @@
|
|
37
37
|
|
38
38
|
|
39
39
|
以上、よろしくお願いいたします。
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
##追記1
|
44
|
+
|
45
|
+
```python
|
46
|
+
|
47
|
+
# 設定-フォルダ選択
|
48
|
+
|
49
|
+
def open_folder(inifile,_folder):
|
50
|
+
|
51
|
+
if(inifile != ""):
|
52
|
+
|
53
|
+
try:
|
54
|
+
|
55
|
+
_folder = inifile.get("setting","targetdirectory")
|
56
|
+
|
57
|
+
except:
|
58
|
+
|
59
|
+
if(_folder == ""):
|
60
|
+
|
61
|
+
_folder = "C://"
|
62
|
+
|
63
|
+
_folder = filedialog.askdirectory(initialdir = _folder)
|
64
|
+
|
65
|
+
return _folder
|
66
|
+
|
67
|
+
```
|