Bonsoir,
je débute en python.
La FAQ propose
J'obtiens :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 import tkinter.filedialog 'Ajouté 'import tkinter ne fonctionne pas non pus tkFileDialog.askopenfilename(filetypes = [("All", "*"),("Fichiers Python","*.py;*.pyw")]))
Traceback (most recent call last):
File "C:\Users\oly\Desktop\Longueur.py", line 3, in <module>
tkFileDialog.askopenfilename(filetypes = [("All", "*"),("Fichiers Python","*.py;*.pyw")])
NameError: name 'tkFileDialog' is not defined
Où vais-je trouver cette fonction ?
Merci.
Partager