基本信息
源码名称:python 实现文件拖放(基于TkDnD2)
源码大小:0.21M
文件格式:.zip
开发语言:Python
更新时间:2021-03-23
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍

跨平台 支持Windows\Mac\Linux

首先cd到当前程序目录下,然后 运行 python setup.py install

然后再执行如下脚本即可看到效果

python  ./demos/demo_canvas.py




tkinterdnd2-master

├── LICENSE
├── README.md
├── build
│   ├── bdist.macosx-10.9-x86_64
│   └── lib
│       └── tkinterdnd2
│           ├── TkinterDnD.py
│           ├── __init__.py
│           └── tkdnd
│               ├── linux64
│               │   ├── libtkdnd2.9.2.so
│               │   ├── pkgIndex.tcl
│               │   ├── tkdnd.tcl
│               │   ├── tkdnd_compat.tcl
│               │   ├── tkdnd_generic.tcl
│               │   ├── tkdnd_macosx.tcl
│               │   ├── tkdnd_unix.tcl
│               │   ├── tkdnd_utils.tcl
│               │   └── tkdnd_windows.tcl
│               ├── osx64
│               │   ├── libtkdnd2.9.2.dylib
│               │   ├── pkgIndex.tcl
│               │   ├── tkdnd.tcl
│               │   ├── tkdnd_compat.tcl
│               │   ├── tkdnd_generic.tcl
│               │   ├── tkdnd_macosx.tcl
│               │   ├── tkdnd_unix.tcl
│               │   ├── tkdnd_utils.tcl
│               │   └── tkdnd_windows.tcl
│               └── win64
│                   ├── libtkdnd2.9.2.dll
│                   ├── pkgIndex.tcl
│                   ├── tkdnd.tcl
│                   ├── tkdnd2.9.2.lib
│                   ├── tkdnd_compat.tcl
│                   ├── tkdnd_generic.tcl
│                   ├── tkdnd_macosx.tcl
│                   ├── tkdnd_unix.tcl
│                   ├── tkdnd_utils.tcl
│                   └── tkdnd_windows.tcl
├── demos
│   ├── demo_canvas.py
│   ├── demo_files_and_text.py
│   ├── demo_megawidgets.py
│   └── demo_simple_text.py
├── dist
│   └── tkinterdnd2_pmgagne-0.3.0-py3.8.egg
├── docs
│   ├── Makefile
│   ├── TkinterDnD.html
│   ├── TkinterDnD2.rst
│   ├── conf.py
│   ├── index.rst
│   ├── make.bat
│   └── tkDND.htm
├── hook-tkinterdnd2.py
├── setup.py
├── tests
│   └── test_tkinterdnd2.py
├── tkinterdnd2
│   ├── TkinterDnD.py
│   ├── __init__.py
│   └── tkdnd
│       ├── linux64
│       │   ├── libtkdnd2.9.2.so
│       │   ├── pkgIndex.tcl
│       │   ├── tkdnd.tcl
│       │   ├── tkdnd_compat.tcl
│       │   ├── tkdnd_generic.tcl
│       │   ├── tkdnd_macosx.tcl
│       │   ├── tkdnd_unix.tcl
│       │   ├── tkdnd_utils.tcl
│       │   └── tkdnd_windows.tcl
│       ├── osx64
│       │   ├── libtkdnd2.9.2.dylib
│       │   ├── pkgIndex.tcl
│       │   ├── tkdnd.tcl
│       │   ├── tkdnd_compat.tcl
│       │   ├── tkdnd_generic.tcl
│       │   ├── tkdnd_macosx.tcl
│       │   ├── tkdnd_unix.tcl
│       │   ├── tkdnd_utils.tcl
│       │   └── tkdnd_windows.tcl
│       └── win64
│           ├── libtkdnd2.9.2.dll
│           ├── pkgIndex.tcl
│           ├── tkdnd.tcl
│           ├── tkdnd2.9.2.lib
│           ├── tkdnd_compat.tcl
│           ├── tkdnd_generic.tcl
│           ├── tkdnd_macosx.tcl
│           ├── tkdnd_unix.tcl
│           ├── tkdnd_utils.tcl
│           └── tkdnd_windows.tcl
└── tkinterdnd2_pmgagne.egg-info
    ├── PKG-INFO
    ├── SOURCES.txt
    ├── dependency_links.txt
    └── top_level.txt

18 directories, 81 files