2015-06-13 7 views
5

Questo è il mio primo messaggio e spero che tu possa aiutarmi a risolvere il mio problema.Python 2.7.9 Mac OS 10.10.3 Messaggio "setCanCycle: deprecato. Utilizzare invece setCollectionBehavior"

Quando lancio uno script python ho questo messaggio:

2015-06-10 23: 15: 44,146 python [1044: 19431] setCanCycle: è l'uso deprecated.Please setCollectionBehavior invece

2015/06/10 23: 15: 44,155 python [1044: 19431] setCanCycle: è l'uso deprecated.Please setCollectionBehavior invece

Sotto il mio script:

from Tkinter import * 

root = Tk() 

root.geometry("450x600+10+10") 
root.title("Booleanv1.0") 

Cadre_1 = Frame(root, width=400, height=100) 
Cadre_1.pack(side='top') 

fileA = Label(Cadre_1, text="File A") 
fileA.grid(row=0,column=0) 
entA = Entry(Cadre_1, width=40) 
entA.grid(row=0,column=1, pady=10) 
open_fileA = Button(Cadre_1, text='SELECT', width=10, height=1, command = root.destroy) 
open_fileA.grid(row=0, column=2) 

fileB = Label(Cadre_1, text="File B") 
fileB.grid(row=1,column=0) 
entB = Entry(Cadre_1, width=40) 
entB.grid(row=1,column=1, pady=10) 
open_fileB = Button(Cadre_1, text='SELECT', width=10, height=1, command = root.destroy) 
open_fileB.grid(row=1, column=2) 


root.mainloop() 

Chi può aiutarmi a spiegare questo messaggio?

Come posso rimuovere questo messaggio?

PS: Uso Anaconda 3.10.0 e Spyder IDE, ma ho lo stesso problema quando lancio il mio script con il terminale.

saluti.

risposta

Problemi correlati