filedialog, tkinter and opening files

The exception you get is telling you filedialog is not in your namespace. filedialog (and btw messagebox) is a tkinter module, so it is not imported just with from tkinter import * >>> from tkinter import * >>> filedialog Traceback (most recent call last): File “<interactive input>”, line 1, in <module> NameError: name ‘filedialog’ is … Read more

Does WPF have a native file dialog?

WPF does have built-in (although not native) file dialogs. Specifically, they are in the slightly unexpected Microsoft.Win32 namespace (although still part of WPF). See the OpenFileDialog and SaveFileDialog classes in particular. Do however note that these classes are only wrappers around the Win32 functionality, as the parent namespace suggests. It does however mean that you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)