teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

誤字

2018/01/12 05:03

投稿

takuoNO2
takuoNO2

スコア7

title CHANGED
File without changes
body CHANGED
@@ -21,6 +21,7 @@
21
21
 
22
22
 
23
23
  ####ソースコード
24
+
24
25
  ```
25
26
  #! /usr/bin/env python
26
27
 
@@ -41,7 +42,8 @@
41
42
  file_value = 'aaa'
42
43
  text_widget.insert('1.0',file_value) #read
43
44
 
44
- root.mainloop()```
45
+ root.mainloop()
46
+ ```
45
47
 
46
48
  環境
47
49
  Windows7 pro

1

ソースが誤っていたので修正しました

2018/01/12 05:03

投稿

takuoNO2
takuoNO2

スコア7

title CHANGED
File without changes
body CHANGED
@@ -38,8 +38,11 @@
38
38
  text_widget = tk.Text(root,bg='#ffc0f0',bd=0,state=tk.NORMAL,padx=0,pady=0,selectborderwidth=0)
39
39
  text_widget.grid(column=0, row=0, sticky=(tk.N, tk.S, tk.E, tk.W))
40
40
 
41
- ```
41
+ file_value = 'aaa'
42
+ text_widget.insert('1.0',file_value) #read
42
43
 
44
+ root.mainloop()```
45
+
43
46
  環境
44
47
  Windows7 pro
45
48
  Python3.6(Anaconda 3.6)