Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 3.x 与在MacOs(Python)上拖动应用程序图标上的文件/文件夹相关联的事件_Python 3.x_Macos_Drag And Drop_Pyinstaller - Fatal编程技术网

Python 3.x 与在MacOs(Python)上拖动应用程序图标上的文件/文件夹相关联的事件

Python 3.x 与在MacOs(Python)上拖动应用程序图标上的文件/文件夹相关联的事件,python-3.x,macos,drag-and-drop,pyinstaller,Python 3.x,Macos,Drag And Drop,Pyinstaller,我正在用Python为MacOs编写一个程序,该程序稍后将用Pyinstaller构建到MacOs应用程序中。 一旦应用程序构建完成,我就可以在上面拖动文件。我如何在我的代码中拦截这种应用程序图标拖动事件

我正在用Python为MacOs编写一个程序,该程序稍后将用Pyinstaller构建到MacOs应用程序中。 一旦应用程序构建完成,我就可以在上面拖动文件。我如何在我的代码中拦截这种应用程序图标拖动事件