2014-02-22 50 views
1

http://i.imgur.com/0dLxzzc.png
我怎樣才能讓在右手邊(存儲在變量MSG2)文本從頂部開始,即同一水平上左手邊消息(味精) 這裏是我的代碼了多個文字的Python Tkinter的消息框

from Tkinter import * 
top = Tk() 
msg = """I very soon decided that until I had done something towards naming and describing the most important groups in my collection, and had worked out some of the more interesting problems of variation and geographical distribution (of which I had had glimpses while collecting them), I would not attempt to publish my travels.GoodBye!!""" 
w= Message(top,text=msg) 
msg2="""I feel bound to give them full satisfaction on this point""" 
v= Message(top,text=msg2) 
w.grid(row=0,column=0) 
v.grid(column=1,row=0) 

top.mainloop() 

回答