On 5/14/2015 10:03 PM, Steven D'Aprano wrote:
The idea is that the library will hide that complexity from you, so your python code will just say:import shutil shutil.move_to_trash(filename)
Since 'trash' is (or is used as) a verb, shutil.trash(filename) seems sufficient.
and it will work on any supported OS, filesystem and desktop.
This seems like a plausible enhancement. -- Terry Jan Reedy -- https://mail.python.org/mailman/listinfo/python-list