Recently, a friend asked me how to deal with the issue of Python exe files being too large after packaging. Why are Python-packaged exe files so large? I’m guessing you’re using PyInstaller to package ...
しかし、うっかり大切なファイルを消してしまうという失敗を避けるためには、上記の関数を使って完全にファイルを削除してしまうのではなく、削除と同時にそれがゴミ箱に入るようにしたいという場合もあるだろう。その場合には、Send2Trashという ...