GUI and Desktop Modules
tkinter.dnd
Experimental drag-and-drop support within a Tkinter application. A drag starts from a source object and event; participating targets implement acceptance and lifecycle callbacks. This is not a general operating-system file-drop interface. Prefer reviewing the local implementation before relying on its preliminary API. The example only checks the entry point.
Formal Syntax & Structure
python syntaxpython
import tkinter.dndReturn Value
module
Module namespace available through import; import is a statement, not a value-returning expression.
Working Example
Example Snippetpython
from tkinter.dnd import dnd_startprint(callable(dnd_start))