我正在尝试使用python中的send2trash模块来执行“自动化无聊的事情”,但是我一直收到以下错误:Type "copyright", "credits" or "license()" for more information.
>>> import send2trash>>> send2trash.send
我尝试使用pip安装send2trash,得到以下错误消息:Collecting send2trashBuilding wheels for collected packages: send2trash
Running setup.py bdist_wheel for send2trashInstalling collected packages: sen
我正在尝试使用send2trash将一个文件发送到垃圾中。使用像send2trash("C:\\path\\to\\file\\file.txt")一样正确,但当使用filedialog.askopenfilename()并将结果输入到它时,没有效果。(m) #Also used send2trash(str(m)) but that did not work File "c:\Python310\Scripts\delete.py",line 293, in <module>